Gentoo: GLSA-201507-09: PyPAM: Arbitrary code execution
Summary
PyPAM does not handle passwords correctly if there is NULL byte in the string.
Resolution
All PyPAM users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pypam-0.5.0-r3"
References
[ 1 ] CVE-2012-1502 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1502
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201507-09
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Synopsis
A double free vulnerability in PyPAM could result in execution of arbitrary code or Denial of Service.
Background
PyPAM is a PAM binding for Python.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-python/pypam < 0.5.0-r3 >= 0.5.0-r3
Impact
===== A remote attacker could possibly execute arbitrary code or cause a Denial of Service condition.
Workaround
There is no known workaround at this time.