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
                    | Link | Resource | 
|---|---|
| http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 | Issue Tracking Patch | 
| http://www.openwall.com/lists/oss-security/2023/03/09/1 | Mailing List Patch | 
| https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 | Issue Tracking Patch | 
| https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/ | |
| https://www.openwall.com/lists/oss-security/2023/03/08/2 | Mailing List Patch | 
| http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 | Issue Tracking Patch | 
| http://www.openwall.com/lists/oss-security/2023/03/09/1 | Mailing List Patch | 
| https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 | Issue Tracking Patch | 
| https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/ | |
| https://www.openwall.com/lists/oss-security/2023/03/08/2 | Mailing List Patch | 
Configurations
                    History
                    21 Nov 2024, 07:53
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 - Issue Tracking, Patch | |
| References | () http://www.openwall.com/lists/oss-security/2023/03/09/1 - Mailing List, Patch | |
| References | () https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 - Issue Tracking, Patch | |
| References | () https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/ - | |
| References | () https://www.openwall.com/lists/oss-security/2023/03/08/2 - Mailing List, Patch | 
09 Jun 2023, 07:15
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | |
| Summary | 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 | 
Information
                Published : 2023-03-09 06:15
Updated : 2025-03-05 17:15
NVD link : CVE-2023-27985
Mitre link : CVE-2023-27985
CVE.ORG link : CVE-2023-27985
JSON object : View
Products Affected
                gnu
- emacs
CWE
                
                    
                        
                        CWE-78
                        
            Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
