CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2022-45939 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-45939?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-45939?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-45939 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnu:emacs | through 28.2 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | emacs | 1:26.1+1-3.2+deb10u3 | DLA-3257-1 |
| Debian | 11 | emacs | 1:27.1+1-3.1+deb11u1 | DSA-5314-1 |
| Debian | 12 | xemacs21 | 21.4.24-11 | DEBIAN-CVE-2022-45939 |
| Debian | 12, 13, 14 | emacs | 1:28.2+1-8 | DEBIAN-CVE-2022-45939 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | xemacs21, xemacs21-packages | no fix listed | UBUNTU-CVE-2022-45939 |
| Ubuntu | 22.04:LTS | emacs | 1:27.1+1-3ubuntu5.2 | UBUNTU-CVE-2022-45939 USN-7027-1 |
| Ubuntu | Pro:16.04:LTS | emacs24 | 24.5+1-6ubuntu1.1+esm1 | UBUNTU-CVE-2022-45939 USN-5781-1 USN-7027-1 |
| Ubuntu | Pro:18.04:LTS | emacs25 | 25.2+1-6ubuntu0.1~esm2 | UBUNTU-CVE-2022-45939 USN-7027-1 |
| Ubuntu | Pro:20.04:LTS | emacs | 1:26.3+1-1ubuntu2+esm1 | UBUNTU-CVE-2022-45939 USN-7027-1 |
| Ubuntu | Pro:24.04:LTS | emacs | 1:29.3+1-1ubuntu2+esm1 | USN-7027-1 |
| Red Hat | enterprise_linux:8::appstream | emacs, emacs-nox, emacs-lucid and 7 more | 1:26.1-9.el8 | RHSA-2023:3042 |
| Red Hat | enterprise_linux:8::baseos | emacs, emacs-filesystem | 1:26.1-9.el8 | RHSA-2023:3042 |
| Red Hat | enterprise_linux:9::appstream | emacs, emacs-nox, emacs-lucid and 7 more | 1:27.2-8.el9 | RHSA-2023:2366 |
| Red Hat | rhel_eus:8.6::appstream | emacs, emacs-nox, emacs-lucid and 7 more | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat | rhel_eus:8.6::baseos | emacs, emacs-filesystem | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 more | emacs | 25.3-150000.3.12.1 | SUSE-SU-2022:4310-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Desktop Applications 15 SP4 | emacs | 27.2-150400.3.3.1 | SUSE-SU-2022:4304-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 5 more | emacs | 24.3-25.9.1 | SUSE-SU-2022:4305-1 |
| openSUSE | Leap 15.3 | emacs | 25.3-150000.3.12.1 | SUSE-SU-2022:4310-1 |
| openSUSE | Leap 15.4 | emacs | 27.2-150400.3.3.1 | SUSE-SU-2022:4304-1 |
| openSUSE | Tumbleweed | emacs | 28.2-1.1 | openSUSE-SU-2024:12541-1 |
| AlmaLinux | 8 | emacs, emacs-nox, emacs-lucid and 3 more | 1:26.1-9.el8 | ALSA-2023:3042 |
| AlmaLinux | 9 | emacs, emacs-nox, emacs-lucid and 2 more | 1:27.2-8.el9 | ALSA-2023:2366 |
| Alpine | v3.17 | emacs | 28.2-r1 | ALPINE-CVE-2022-45939 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | emacs | 28.2-r3 | ALPINE-CVE-2022-45939 |
| Azure Linux | 2 | emacs | 28.1-5 | AZL-11515 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability is only triggered when a local user runs etags with untrusted input, via a file with a crafted filename in the directory or set of files being processed by etags, for example. For this reason, this flaw has been rated with a moderate security impact.
Do not run Etags with untrusted input, in an untrusted directory or set of files, for example.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | emacs-1:26.1-9.el8 | Fixed 2023-05-16 | RHSA-2023:3042 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | emacs-1:26.1-7.el8_6.3 | Fixed 2024-03-05 | RHSA-2024:1103 |
| Red Hat Enterprise Linux 9 | emacs-1:27.2-8.el9 | Fixed 2023-05-09 | RHSA-2023:2366 |
| Red Hat Enterprise Linux 6 | emacs | Out of support scope | |
| Red Hat Enterprise Linux 7 | emacs | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-45939.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.