CVE-2022-43995 json
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can r…
published 2022-11-02 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-46959
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.
Patch / fix
- sudo_project sudo 1.9.12
- sudo Debian 14, Debian 13, Debian 12 1.9.12p1-1
debian advisories DEBIAN-CVE-2022-43995
- sudo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.27-4.30.1
- sudo SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLES 12 SP3-BCL +2 more 1.8.20p2-3.33.1
- sudo SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +2 more 1.9.5p2-150300.3.13.1
- sudo SLE Module for Basesystem 15 SP4, SLE Micro 5.3, openSUSE Leap 15.4 1.9.9-150400.4.6.1
- sudo SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +16 more 1.8.27-150000.4.30.1
- sudo SLES 12 SP2-BCL 1.8.10p3-10.38.1
suse advisories SUSE-SU-2022:4280-1SUSE-SU-2022:4240-1SUSE-SU-2022:4077-1SUSE-SU-2022:4001-1SUSE-SU-2022:3938-1SUSE-SU-2022:3886-1
- sudo openSUSE Tumbleweed 1.9.12-3.1
opensuse advisories openSUSE-SU-2024:12483-1
- sudo Alpine 3.15, Alpine 3.14 1.9.12-r1
alpine advisories ALPINE-CVE-2022-43995
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-43995 updated cvss 7.1
sudo: heap-based overflow with very small passwords
-
Red Hat Enterprise Linux 6 sudo Red Hat Enterprise Linux 7 sudo Red Hat Enterprise Linux 8 sudo Red Hat Enterprise Linux 9 sudo, sudo-python-pluginnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050
patch, third-party-advisory
-
security.gentoo.org
/glsa/202211-08
vendor-advisory, third-party-advisory
-
sudo.ws
/security/advisories/
vendor-advisory
-
news.ycombinator.com
/item?id=33465707
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2139911
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2022-43995
- NVD CVE-2022-43995
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.