CVE-2020-10595
Description
pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a buffer provided by the underlying Kerberos library by a single '\0' byte if an attacker responds to a prompt with an answer of a carefully chosen length. The effect may range from heap corruption to stack corruption depending on the structure of the underlying Kerberos library, with unknown effects but possibly including code execution. This code path is not used for normal authentication, but only when the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.
Weakness
- CWE-120: Buffer Copy without Checking Size of Input
Timeline
- 2020-03-31Published by the CNA12:36 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pam-krb5_project pam-krb5 | before 4.9fixed in 4.9 | 4.9 |
| debian debian_linux | 10.0no fix listed8.0no fix listed9.0no fix listed | not listednot listednot listed |
References
- http://www.openwall.com/lists/oss-security/2020/03/31/1
- https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760
- https://usn.ubuntu.com/4314-1/
- https://www.debian.org/security/2020/dsa-4648
- https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html
- https://www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-10595'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-10595'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-10595'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-10595'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).