CVE-2020-10595

pam_krb5: incorrect input handling results in single byte buffer overflow which may lead to heap corruption

Published Mar 31, 2020 CVSS 3.1 · 9.8 Critical EPSS 4.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2166-1 libpam-krb5 security update
Debian DSA Debian DSA DSA-4648-1 libpam-krb5 security update
EUVD EUVD EUVD-2020-3044 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.
Ubuntu USN Ubuntu USN USN-4314-1 pam-krb5 vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:06 AM
Reserved
Mar 16, 2020, 12:00 AM
Status
Modified
Published
Mar 31, 2020, 1:15 PM
Modified
Jun 17, 2026, 2:48 AM
Severity
Moderate
Public date
Mar 31, 2020, 3:00 AM