Vulnerability Details : CVE-2023-27985
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
Products affected by CVE-2023-27985
- cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-27985
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 18 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-27985
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-03-05 |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2023-27985
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2023-27985
-
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204
#60204 - 28.2; Invalid Exec key in etc/emacsclient-mail.desktop - GNU bug report logsIssue Tracking;Patch
-
https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
Shell command and Emacs Lisp injection in emacsclient-mail.desktop - /dev/posts/
-
http://www.openwall.com/lists/oss-security/2023/03/09/1
oss-security - Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktopMailing List;Patch
-
https://www.openwall.com/lists/oss-security/2023/03/08/2
oss-security - Shell command and Emacs Lisp code injection in emacsclient-mail.desktopMailing List;Patch
-
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467
emacs.git - Emacs source repositoryIssue Tracking;Patch
Jump to