OS Command Injection Affecting emacs package, versions <1:28.2+1-13
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.06% (23rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN12-EMACS-3357943
- published 9 Mar 2023
- disclosed 9 Mar 2023
Introduced: 9 Mar 2023
CVE-2023-27985 Open this link in a new tabHow to fix?
Upgrade Debian:12
emacs
to version 1:28.2+1-13 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream emacs
package and not the emacs
package as distributed by Debian
.
See How to fix?
for Debian:12
relevant fixed versions and status.
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
References
- https://security-tracker.debian.org/tracker/CVE-2023-27985
- http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204
- https://www.openwall.com/lists/oss-security/2023/03/08/2
- http://www.openwall.com/lists/oss-security/2023/03/09/1
- https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/