CVE-2022-43995
published 2022-11-02CVE-2022-43995: 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…
PriorityP432high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.27%
19.0th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sudo | < sudo 1.9.12p1-1 (bookworm) | sudo 1.9.12p1-1 (bookworm) |
| msrc | cbl2_sudo_1.9.12p1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_sudo_1.9.12p1-1_on_cbl_mariner_1.0 | — | — |
| sudo_project | sudo | — | — |
| sudo_project | sudo | >= 0 < 1.9.12p1-1 | 1.9.12p1-1 |
| sudo_project | sudo | >= 0 < 1.9.12p1-1 | 1.9.12p1-1 |
| sudo_project | sudo | >= 0 < 1.9.12p1-1 | 1.9.12p1-1 |
| sudo_project | sudo | >= 1.8.0 < 1.9.12 | 1.9.12 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1LOW
vendor_msrc7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-3r97-xp9v-83jf: Sudo 1
ghsa_unreviewed·2022-11-02
CVE-2022-43995 [HIGH] CWE-125 GHSA-3r97-xp9v-83jf: Sudo 1
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 compiler and processor architecture.
OSV
CVE-2022-43995: Sudo 1
osv·2022-11-02·CVSS 7.1
CVE-2022-43995 [HIGH] CVE-2022-43995: Sudo 1
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.
Microsoft
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 b
vendor_msrc·2022-11-08·CVSS 7.1
CVE-2022-43995 [HIGH] CWE-125 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 b
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to tra
Red Hat
sudo: heap-based overflow with very small passwords
vendor_redhat·2022-11-02·CVSS 7.1
CVE-2022-43995 [HIGH] CWE-125 sudo: heap-based overflow with very small passwords
sudo: heap-based overflow with very small passwords
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.
Statement: The sudo package as distributed with Red Hat Enterprise Linux 7, 8 and 9 is not affected by this issue as it currently doesn't ship the affected code.
Package: sudo (Red Hat Enterprise Linux 6) - Not affected
Package: sudo (Red Hat Enterprise Linux 7) - Not affected
Package: sudo (Red Hat Enterprise Linux 8) - Not affected
Package: sud
Debian
CVE-2022-43995: sudo - Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins...
vendor_debian·2022·CVSS 7.1
CVE-2022-43995 [HIGH] CVE-2022-43995: sudo - Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins...
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.
Scope: local
bookworm: resolved (fixed in 1.9.12p1-1)
bullseye: open
forky: resolved (fixed in 1.9.12p1-1)
sid: resolved (fixed in 1.9.12p1-1)
trixie: resolved (fixed in 1.9.12p1-1)
No detection rules found.
No public exploits indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=2139911https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050https://news.ycombinator.com/item?id=33465707https://security.gentoo.org/glsa/202211-08https://www.sudo.ws/security/advisories/https://bugzilla.redhat.com/show_bug.cgi?id=2139911https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050https://news.ycombinator.com/item?id=33465707https://security.gentoo.org/glsa/202211-08https://www.sudo.ws/security/advisories/
2022-11-02
Published