CVE-2011-3148

NameCVE-2011-3148
DescriptionStack-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2326-1
NVD severitymedium (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pam (PTS)wheezy1.1.3-7.1fixed
jessie1.1.8-3.1+deb8u2fixed
buster, stretch, sid1.1.8-3.6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pamsource(unstable)1.1.3-5medium
pamsourcelenny(not affected)
pamsourcesqueeze1.1.1-6.1+squeeze1mediumDSA-2326-1

Notes

[lenny] - pam <not-affected> (user_env parsing not yet available)

Search for package or bug name: Reporting problems