CVE-2022-45939
CVE-2022-45939
CVSS 7.8 · High · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- emacs Alpine 3.17Update to 28.2-r1
- emacs Alpine 3.18Update to 28.2-r3
- emacs Alpine 3.19Update to 28.2-r3
- emacs Alpine 3.20Update to 28.2-r3
- and 19 more
Check the installed version:
apk list -I -o emacsAssess 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.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
- Published
- Updated
Fixes in distributions
- 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:1103 · Red Hat rhel eus 8.6 appstream, Red Hat rhel eus 8.6 baseos ·
- RHSA-2023:3042 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
- RHSA-2023:2366 · Red Hat Enterprise Linux 9 appstream ·
- openSUSE-SU-2024:12541-1 · openSUSE Tumbleweed ·
- ALSA-2023:3042 · AlmaLinux 8 ·
- ALSA-2023:2366 · AlmaLinux 9 ·
- DSA-5314-1 · Debian 11 ·
- DLA-3257-1 · Debian 10 ·
- USN-5781-1 · Ubuntu Pro 16.04 LTS ·
- SUSE-SU-2022:4310-1 · openSUSE Leap 15.3, SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Desktop Applications 15 SP3, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
- SUSE-SU-2022:4305-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, 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 ·
- SUSE-SU-2022:4304-1 · openSUSE Leap 15.4, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP4 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
emacs Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 28.2-r1
Update to 28.2-r1
emacs Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 28.2-r3
Update to 28.2-r3
emacs Debian 12
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-8
Update to 1:28.2+1-8
emacs Debian 13
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-8
Update to 1:28.2+1-8
emacs Debian 14
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-8
Update to 1:28.2+1-8
xemacs21 Debian 12
- Affected ranges
- ECOSYSTEM: < 21.4.24-11
Update to 21.4.24-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 (7)
- 24.5+1-6ubuntu1.1
- Affected ranges
- ECOSYSTEM: < 24.5+1-6ubuntu1.1+esm1
Update to 24.5+1-6ubuntu1.1+esm1
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
Original sources
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51
- https://lists.debian.org/debian-lts-announce/2022/12/msg00046.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GOXIH2FDEQJEAARE52C3GHTLGQFBYPIB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOSK3J7BBAEI4IITW2DRUKLQYUZYKH6Y/
- https://www.debian.org/security/2023/dsa-5314
- https://nvd.nist.gov/vuln/detail/CVE-2022-45939