Buffer overflow in Pam-Krb5 Project
CVE-2020-10595
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.048, 92.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pam-Krb5 Project
- Debian Linux — versions 8.0, 9.0, 10.0
Weakness classification (CWE)
References
- github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760 (Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2020/03/31/1 (Patch, Mailing List, Third Party Advisory)
- DSA-4648 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200401 [SECURITY] [DLA 2166-1] libpam-krb5 security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4314-1 (vendor-advisory)
- www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html