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).
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://security.gentoo.org/glsa/glsa-201206-31.xml | vendor advisory |
http://www.ubuntu.com/usn/USN-1237-1 | vendor advisory |
http://secunia.com/advisories/46583 | third party advisory vendor advisory |
http://secunia.com/advisories/49711 | third party advisory vendor advisory |
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874565 | |
http://git.fedorahosted.org/git/?p=linux-pam.git%3Ba=commitdiff%3Bh=109823cb621c900c07c4b6cdc99070d354d19444 |