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.0: 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/E:U/U:Amber
CVE-ID: CVE-2020-10595
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Russ Allbery
Affected software:
pam-krb5

Detailed vulnerability description

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.


How to mitigate CVE-2020-10595

Install update from vendor's website.

Sources