Buffer overflow in pam-krb5 - CVE-2020-10595

 

Buffer overflow in pam-krb5 - CVE-2020-10595

Published: March 31, 2020


Vulnerability identifier: #VU26486
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10595
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

pam-krb5
Arch Linux
libpam-krb5 (Ubuntu package)
libpam-krb5 (Debian package)

How to mitigate CVE-2020-10595

Install update from vendor's website.

pam-krb5 - update to 4.9
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

External References

Related Security Bulletins