Vulnerability Description
emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification. It is fixed in 29.0.90
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Emacs | >= 28.1, <= 28.2 |
Related Weaknesses (CWE)
References
- http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de5Issue TrackingPatch
- http://www.openwall.com/lists/oss-security/2023/03/09/1Mailing ListPatch
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204Issue TrackingPatch
- https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
- https://www.openwall.com/lists/oss-security/2023/03/08/2Mailing ListPatch
- http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de5Issue TrackingPatch
- http://www.openwall.com/lists/oss-security/2023/03/09/1Mailing ListPatch
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204Issue TrackingPatch
- https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
- https://www.openwall.com/lists/oss-security/2023/03/08/2Mailing ListPatch
FAQ
What is CVE-2023-27985?
CVE-2023-27985 is a vulnerability with a CVSS score of 7.8 (HIGH). emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification....
How severe is CVE-2023-27985?
CVE-2023-27985 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-27985?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Emacs.