Name | CVE-2022-43995 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
sudo (PTS) | jessie, jessie (lts) | 1.8.10p3-1+deb8u9 | vulnerable |
stretch (security) | 1.8.19p1-2.1+deb9u3 | vulnerable | |
stretch (lts), stretch | 1.8.19p1-2.1+deb9u6 | vulnerable | |
buster (security), buster, buster (lts) | 1.8.27-1+deb10u6 | vulnerable | |
bullseye (security), bullseye | 1.9.5p2-3+deb11u1 | vulnerable | |
bookworm | 1.9.13p3-1+deb12u1 | fixed | |
sid, trixie | 1.9.16p1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
sudo | source | (unstable) | 1.9.12p1-1 | unimportant |
Fixed by: https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050 (SUDO_1_9_12p1)
Binary packages compiled with PAM support not enabling the plugins/sudoers/auth/passwd.c code