CVE-2012-1502
Description
Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
PyPAM Python bindings for PAM - Double-Free Corruption
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.4.2-13 |
| sid | Fixed | 0.4.2-13 |
| forky | Fixed | 0.4.2-13 |
| bullseye | Fixed | 0.4.2-13 |
| bookworm | Fixed | 0.4.2-13 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pypam | pypam | {"endIncluding":"0.5.0"} | |
References
- http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html
- http://secunia.com/advisories/48312
- http://secunia.com/advisories/48332
- http://secunia.com/advisories/48746
- http://ubuntu.com/usn/usn-1395-1
- http://www.debian.org/security/2012/dsa-2430
- http://www.lsexperts.de/advisories/lse-2012-03-01.txt
- http://www.osvdb.org/79892
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73857
- https://security.gentoo.org/glsa/201507-09
- https://security-tracker.debian.org/tracker/CVE-2012-1502
CWEs
CWE-399
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.