Name | CVE-2011-3148 |
Description | Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux-PAM (aka pam) before 1.1.5 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long string of white spaces at the beginning of the ~/.pam_environment file. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-2326-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pam (PTS) | jessie | 1.1.8-3.1+deb8u2 | fixed |
| stretch | 1.1.8-3.6 | fixed |
| buster | 1.3.1-5 | fixed |
| bullseye | 1.4.0-9+deb11u1 | fixed |
| bookworm | 1.5.2-6+deb12u1 | fixed |
| sid, trixie | 1.5.3-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pam | source | lenny | (not affected) | | | |
pam | source | squeeze | 1.1.1-6.1+squeeze1 | | DSA-2326-1 | |
pam | source | (unstable) | 1.1.3-5 | | | |
Notes
[lenny] - pam <not-affected> (user_env parsing not yet available)