Skip to content

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 underlyi...

CriticalCVSS 9.8 EPSS 4.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/libpam-krb5(Debian 12) < 4.9-1 4.9-1 Fixed
debian/libpam-krb5(Debian 13) < 4.9-1 4.9-1 Fixed
debian/libpam-krb5(Debian 14) < 4.9-1 4.9-1 Fixed
pam-krb5 project pam-krb5 < 4.9 4.9 Fixed
ubuntu/libpam-krb5(Ubuntu 16.04) < 4.7-2ubuntu0.1; = 4.7-2 4.7-2ubuntu0.1 Fixed
ubuntu/libpam-krb5(Ubuntu 18.04) < 4.8-1ubuntu0.1; = 4.7-4; = 4.8-1 4.8-1ubuntu0.1 Fixed
ubuntu/libpam-krb5(Ubuntu Pro 14.04) < 4.6-2ubuntu0.1~esm1; = 4.6-2 4.6-2ubuntu0.1~esm1 Fixed
debian linux = 8.0; = 9.0; = 10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libpam-krb5(Debian:12) < 4.9-1 4.9-1
debian/libpam-krb5(Debian:13) < 4.9-1 4.9-1
debian/libpam-krb5(Debian:14) < 4.9-1 4.9-1
pam-krb5 project pam-krb5 < 4.9 4.9
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
ubuntu/libpam-krb5(Ubuntu:Pro:14.04) < 4.6-2ubuntu0.1~esm1 4.6-2ubuntu0.1~esm1
ubuntu/libpam-krb5(Ubuntu:Pro:14.04) = 4.6-2 No fix listed
ubuntu/libpam-krb5(Ubuntu:16.04) < 4.7-2ubuntu0.1 4.7-2ubuntu0.1
ubuntu/libpam-krb5(Ubuntu:16.04) = 4.7-2 No fix listed
ubuntu/libpam-krb5(Ubuntu:18.04) < 4.8-1ubuntu0.1 4.8-1ubuntu0.1
ubuntu/libpam-krb5(Ubuntu:18.04) = 4.7-4 No fix listed
ubuntu/libpam-krb5(Ubuntu:18.04) = 4.8-1 No fix listed

References