Buffer overflow in linux-pam - CVE-2011-3149

 

Buffer overflow in linux-pam - CVE-2011-3149

Published: July 22, 2012 / Updated: May 9, 2023


Vulnerability identifier: #VU43803
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2011-3149
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: git.kernel.org
Affected software:
linux-pam

Detailed vulnerability description

The vulnerability allows a local user to perform service disruption.

The _expand_arg function in the pam_env module (modules/pam_env/pam_env.c) in Linux-PAM (aka pam) before 1.1.5 does not properly handle when environment variable expansion can overflow, which allows local users to cause a denial of service (CPU consumption).


How to mitigate CVE-2011-3149

Install update from vendor's website.

Sources