CVE-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 heap-based buffer over-read. This can be triggered...
HighCVSS 7.1
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Debian
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.
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/sudo(Alpine v3.14) | >= 1.8.0, < 1.9.12-r1 | 1.9.12-r1 | Fixed |
| alpine/sudo(Alpine v3.15) | >= 1.8.0, < 1.9.12-r1 | 1.9.12-r1 | Fixed |
| debian/sudo(Debian 12) | < 1.9.12p1-1 | 1.9.12p1-1 | Fixed |
| debian/sudo(Debian 13) | < 1.9.12p1-1 | 1.9.12p1-1 | Fixed |
| debian/sudo(Debian 14) | < 1.9.12p1-1 | 1.9.12p1-1 | Fixed |
| sudo project sudo | = 1.9.12; >= 1.8.0, < 1.9.12 | 1.9.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sudo project sudo | >= 1.8.0, < 1.9.12 | 1.9.12 |
| sudo project sudo | = 1.9.12 | No fix listed |
| debian/sudo(Debian:12) | < 1.9.12p1-1 | 1.9.12p1-1 |
| debian/sudo(Debian:14) | < 1.9.12p1-1 | 1.9.12p1-1 |
| debian/sudo(Debian:13) | < 1.9.12p1-1 | 1.9.12p1-1 |
| alpine/sudo(Alpine:v3.14) | >= 1.8.0, < 1.9.12-r1 | 1.9.12-r1 |
| alpine/sudo(Alpine:v3.15) | >= 1.8.0, < 1.9.12-r1 | 1.9.12-r1 |
References
- Debian Security Tracker CVE-2022-43995 vendor-advisory
- www.sudo.ws vendor-advisory
- github.com patch third-party-advisory
- news.ycombinator.com third-party-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- GLSA-202211-08 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory