CVE-2022-48337
CVE-2022-48337
CVSS 9.8 · Critical · EPSS 1.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- emacs Debian 12Update to 1:28.2+1-11
- emacs Debian 13Update to 1:28.2+1-11
- emacs Debian 14Update to 1:28.2+1-11
- emacs24 Ubuntu Pro 16.04 LTSUpdate to 24.5+1-6ubuntu1.1+esm4
- and 19 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs24"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RLSA-2023:7083 · Rocky Linux 8 ·
- USN-7027-1 · Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 24.04 LTS ·
- RHSA-2024:1408 · Red Hat rhel eus 8.8 appstream, Red Hat rhel eus 8.8 baseos ·
- RHSA-2024:1103 · Red Hat rhel eus 8.6 appstream, Red Hat rhel eus 8.6 baseos ·
- RHSA-2023:7083 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
- RHSA-2023:2626 · Red Hat Enterprise Linux 9 appstream ·
- openSUSE-SU-2024:12721-1 · openSUSE Tumbleweed ·
- ALSA-2023:7083 · AlmaLinux 8 ·
- DLA-3416-1 · Debian 10 ·
- ALSA-2023:2626 · AlmaLinux 9 ·
- SUSE-SU-2023:0675-1 · SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Real Time 15 SP3, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Manager Proxy 4.2, SUSE Manager Server 4.2 ·
- SUSE-SU-2023:0598-1 · openSUSE Leap 15.4, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP4 ·
- SUSE-SU-2023:0597-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP4-ESPOS, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
- DSA-5360-1 · Debian 11 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
emacs Debian 12
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
emacs Debian 13
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
emacs Debian 14
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
emacs24 Ubuntu Pro 16.04 LTS
- Versions
- 24.5+1-1ubuntu2
- 24.5+1-1ubuntu4
- 24.5+1-1ubuntu5
- 24.5+1-1ubuntu6
- 24.5+1-1ubuntu7
- 24.5+1-6ubuntu1
All versions (10)
- 24.5+1-6ubuntu1.1
- 24.5+1-6ubuntu1.1+esm1
- 24.5+1-6ubuntu1.1+esm2
- 24.5+1-6ubuntu1.1+esm3
- Affected ranges
- ECOSYSTEM: < 24.5+1-6ubuntu1.1+esm4
Update to 24.5+1-6ubuntu1.1+esm4
xemacs21 Ubuntu 16.04 LTS
- Versions
- 21.4.22-4ubuntu3
- 21.4.22-14ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 16.04 LTS
- Versions
- 2009.02.17.dfsg.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs25 Ubuntu Pro 18.04 LTS
- Versions
- 25.2+1-6
- Affected ranges
- ECOSYSTEM: < 25.2+1-6ubuntu0.1~esm2
Update to 25.2+1-6ubuntu0.1~esm2
xemacs21 Ubuntu 18.04 LTS
- Versions
- 21.4.24-4ubuntu1
- 21.4.24-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 18.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 20.04 LTS
- Versions
- 1:26.3+1-1ubuntu1
- 1:26.3+1-1ubuntu2
- Affected ranges
- ECOSYSTEM: < 1:26.3+1-1ubuntu2+esm1
Update to 1:26.3+1-1ubuntu2+esm1
xemacs21 Ubuntu 20.04 LTS
- Versions
- 21.4.24-8build1
- 21.4.24-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 20.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu 22.04 LTS
- Versions
- 1:27.1+1-3ubuntu3
- 1:27.1+1-3ubuntu5
- 1:27.1+1-3ubuntu5.1
- Affected ranges
- ECOSYSTEM: < 1:27.1+1-3ubuntu5.2
Update to 1:27.1+1-3ubuntu5.2
xemacs21 Ubuntu 22.04 LTS
- Versions
- 21.4.24-9ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 22.04 LTS
- Versions
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 24.04 LTS
- Versions
- 21.4.24-12
- 21.4.24-12build2
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 24.04 LTS
- Versions
- 2009.02.17.dfsg.3-2
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 25.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 25.10
- Versions
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.10
- Versions
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.04 LTS
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.04 LTS
- Versions
- 2009.02.17.dfsg.3-3
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=01a4035c869b91c153af9a9132c87adb7669ea1c
- https://www.debian.org/security/2023/dsa-5360
- https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/
- https://nvd.nist.gov/vuln/detail/CVE-2022-48337