CVE-2022-48337
Published: 20 February 2023
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 etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Notes
Author | Note |
---|---|
rodrigo-zaiden | issue introduced in version 25.0.90, wit commit 1f83c3e5. the fix for this issue, in commit 01a4035c, can introduce a memory leak, the commit 0fde314f6 fixes it. |
Priority
Status
Package | Release | Status |
---|---|---|
emacs Launchpad, Ubuntu, Debian |
kinetic |
Ignored
(end of life, was needed)
|
bionic |
Does not exist
|
|
focal |
Needed
|
|
jammy |
Needed
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Released
(1:28.2+1-12)
|
|
xenial |
Ignored
(end of standard support)
|
|
lunar |
Not vulnerable
(1:28.2+1-12ubuntu1)
|
|
Patches: upstream: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=01a4035c869b91c153af9a9132c87adb7669ea1c upstream: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0fde314f6f6e6664cddab1b2f0fe20629cd39d14 |
||
xemacs21 Launchpad, Ubuntu, Debian |
kinetic |
Ignored
(end of life, was needs-triage)
|
bionic |
Needs triage
|
|
focal |
Needs triage
|
|
jammy |
Needs triage
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Ignored
(end of life)
|
|
xenial |
Needs triage
|
|
lunar |
Needs triage
|
|
emacs24 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
trusty |
Not vulnerable
(code not present)
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(code not present)
|
|
emacs25 Launchpad, Ubuntu, Debian |
bionic |
Needed
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
xemacs21-packages Launchpad, Ubuntu, Debian |
bionic |
Needs triage
|
focal |
Needs triage
|
|
jammy |
Needs triage
|
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Needs triage
|
|
xenial |
Needs triage
|
|
lunar |
Needs triage
|
|
emacs23 Launchpad, Ubuntu, Debian |
trusty |
Ignored
(end of standard support)
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
upstream |
Needs triage
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |