Buffer overflow in pam-krb5 - CVE-2020-10595
Published: March 31, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing data passed during supplemental prompting. A remote attacker can pass an overly long string to pam-krb5 via the underlying Kerberos library, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.
Affected software
Arch Linux
libpam-krb5 (Ubuntu package)
libpam-krb5 (Debian package)
How to mitigate CVE-2020-10595
libpam-krb5 (Ubuntu package) - addressed in versions 4.7-2ubuntu0.1, 4.8-1ubuntu0.1, 4.8-2ubuntu0.1
libpam-krb5 (Debian package) - addressed in versions 4.7-4+deb9u1, 4.8-2+deb10u1