VDB

CVE-2022-43995

CVE-2022-43995 PUBLISHED CVSS 7.1 HIGH

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.

PackageEcosystemFixed in
sudo-python-pluginAmazon Linux1.9.12-1.p2.amzn2023.0.2
sudoAmazon Linux1.9.12-1.p2.amzn2023.0.2
sudo-develAmazon Linux1.9.12-1.p2.amzn2023.0.2
sudo-logsrvdAmazon Linux1.9.12-1.p2.amzn2023.0.2
sudosudo_project1.9.12

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2023sudo-python-plugin0
amazon:2023sudo0
amazon:2023sudo-devel0
amazon:2023sudo-logsrvd0
n/an/a*
alpinesudo0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›