GLSA-202211-08 : sudo: Heap-Based Buffer Overread

high Nessus Plugin ID 168041

Description

The remote host is affected by the vulnerability described in GLSA-202211-08 (sudo: Heap-Based Buffer Overread)

- 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. (CVE-2022-43995)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All sudo users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-admin/sudo-1.9.12-r1

See Also

https://security.gentoo.org/glsa/202211-08

https://bugs.gentoo.org/show_bug.cgi?id=879209

Plugin Details

Severity: High

ID: 168041

File Name: gentoo_GLSA-202211-08.nasl

Version: 1.2

Type: local

Published: 11/22/2022

Updated: 11/22/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:C

CVSS Score Source: CVE-2022-43995

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:sudo

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/22/2022

Vulnerability Publication Date: 11/2/2022

Reference Information

CVE: CVE-2022-43995