{"id":"CVE-2023-27985","state":"PUBLISHED","title":"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 ","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","publishedAt":"2023-03-09T00:00:00.000Z","updatedAt":"2025-03-05T16:57:02.029Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.openwall.com/lists/oss-security/2023/03/08/2","http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467","https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204","http://www.openwall.com/lists/oss-security/2023/03/09/1","https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/27xxx/CVE-2023-27985.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-27985","state":"PUBLISHED","datePublished":"2023-03-09T00:00:00.000Z","dateUpdated":"2025-03-05T16:57:02.029Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-03-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2023/03/08/2"},{"url":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467"},{"url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204"},{"url":"http://www.openwall.com/lists/oss-security/2023/03/09/1","name":"[oss-security] 20230309 Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktop","tags":["mailing-list"]},{"url":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-06-09T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.openwall.com/lists/oss-security/2023/03/08/2","tags":["x_transferred"]},{"url":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467","tags":["x_transferred"]},{"url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/03/09/1","name":"[oss-security] 20230309 Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktop","tags":["mailing-list","x_transferred"]},{"url":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:23:30.841Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-03-05T16:56:57.548329Z","id":"CVE-2023-27985","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-05T16:57:02.029Z"}}]}}}