FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

sudo -- Potential out-of-bounds write for small passwords

Affected packages
1.8.0 <= sudo < 1.9.12p1

Details

VuXML ID 3310014a-5ef9-11ed-812b-206a8a720317
Discovery 2022-11-07
Entry 2022-11-07

SO-AND-SO reports:

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.

References

CVE Name CVE-2022-43995
URL https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43995