CVE-2022-45939

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-45939
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45939.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45939
Related
Published
2022-11-28T06:15:10Z
Modified
2024-10-01T00:50:46.374263Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:11 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:27.1+1-3.1+deb11u1

Affected versions

1:27.*

1:27.1+1-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:28.2+1-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:28.2+1-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/debian/xemacs21?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-9
21.4.24-10
21.4.24-11
21.4.24-12

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/debian/xemacs21?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.4.24-11

Ecosystem specific

{
    "urgency": "not yet assigned"
}