SB2013030202 - Amazon Linux AMI update for pam
Published: March 2, 2013 Updated: May 9, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Stack-based buffer overflow (CVE-ID: CVE-2011-3148)
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.
2) Buffer overflow (CVE-ID: CVE-2011-3149)
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).
Remediation
Install update from vendor's website.