Input validation error in linux-pam - CVE-2010-3316

 

Input validation error in linux-pam - CVE-2010-3316

Published: January 24, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45415
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2010-3316
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: git.kernel.org
Affected software:
linux-pam

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The run_coprocess function in pam_xauth.c in the pam_xauth module in Linux-PAM (aka pam) before 1.1.2 does not check the return values of the setuid, setgid, and setgroups system calls, which might allow local users to read arbitrary files by executing a program that relies on the pam_xauth PAM check.


How to mitigate CVE-2010-3316

Install update from vendor's website.

Sources