Vulnerability Details : 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 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.
Exploit prediction scoring system (EPSS) score for CVE-2022-43995
Probability of exploitation activity in the next 30 days: 0.04%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 6 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-43995
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
7.1
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
1.8
|
5.2
|
nvd@nist.gov |
CWE ids for CVE-2022-43995
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-43995
-
https://github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050
Fix CVE-2022-43995, potential heap overflow for passwords < 8 charact… · sudo-project/sudo@bd209b9 · GitHubPatch;Third Party Advisory
-
https://www.sudo.ws/security/advisories/
Security Advisories | SudoVendor Advisory
-
https://news.ycombinator.com/item?id=33465707
Sudo: Heap-based overflow with small passwords | Hacker NewsThird Party Advisory
-
https://security.gentoo.org/glsa/202211-08
sudo: Heap-Based Buffer Overread (GLSA 202211-08) — Gentoo securityThird Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2139911
2139911 – (CVE-2022-43995) CVE-2022-43995 sudo: heap-based overflow with very small passwordsIssue Tracking;Third Party Advisory
Products affected by CVE-2022-43995
- cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
- cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:*