#VU43802 Stack-based buffer overflow in linux-pam - CVE-2011-3148

 

#VU43802 Stack-based buffer overflow in linux-pam - CVE-2011-3148

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


Vulnerability identifier: #VU43802
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2011-3148
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
linux-pam
Software vendor:
git.kernel.org

Description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the _assemble_line() function in modules/pam_env/pam_env.c when processing a long string of white spaces at the beginning of the ~/.pam_environment file. A local user can trigger a stack-based buffer overflow and execute arbitrary code on the target system.


Remediation

Install update from vendor's website.

External links