GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.
                
            References
                    Configurations
                    Configuration 1 (hide)
| 
 | 
Configuration 2 (hide)
| 
 | 
Configuration 3 (hide)
| 
 | 
History
                    21 Nov 2024, 07:30
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51 - Patch | |
| References | () https://lists.debian.org/debian-lts-announce/2022/12/msg00046.html - Mailing List, Third Party Advisory | |
| References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOSK3J7BBAEI4IITW2DRUKLQYUZYKH6Y/ - | |
| References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GOXIH2FDEQJEAARE52C3GHTLGQFBYPIB/ - | |
| References | () https://www.debian.org/security/2023/dsa-5314 - Third Party Advisory | 
07 Nov 2023, 03:54
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | 
 | 
Information
                Published : 2022-11-28 06:15
Updated : 2025-04-28 19:15
NVD link : CVE-2022-45939
Mitre link : CVE-2022-45939
CVE.ORG link : CVE-2022-45939
JSON object : View
Products Affected
                gnu
- emacs
debian
- debian_linux
fedoraproject
- fedora
CWE
                
                    
                        
                        CWE-78
                        
            Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
