CVE-2022-43995
Reported by mitre · Published November 2, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sudo-python-plugin | Amazon Linux | 1.9.12-1.p2.amzn2023.0.2 |
| sudo | Amazon Linux | 1.9.12-1.p2.amzn2023.0.2 |
| sudo-devel | Amazon Linux | 1.9.12-1.p2.amzn2023.0.2 |
| sudo-logsrvd | Amazon Linux | 1.9.12-1.p2.amzn2023.0.2 |
| sudo | sudo_project | 1.9.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | sudo-python-plugin | 0 |
| amazon:2023 | sudo | 0 |
| amazon:2023 | sudo-devel | 0 |
| amazon:2023 | sudo-logsrvd | 0 |
| n/a | n/a | * |
| alpine | sudo | 0 |
Timeline
- Nov 2, 2022 CVE Published
- Nov 2, 2022 PoC Published (2 in total, the first dated here)
- Nov 3, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Jun 14, 2026 Coalition ESS Score
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-43995
vulnetix vdb fixes CVE-2022-43995
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-43995/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202211-08 vendor-advisory