CVE-2022-42898

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
25/12/2022
Last modified:
08/10/2023

Description

PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind, or a GSS or Kerberos application server) on 32-bit platforms (which have a resultant heap-based buffer overflow), and cause a denial of service on other platforms. This occurs in krb5_pac_parse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has "a similar bug."

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:* 1.8 (including) 1.19.4 (excluding)
cpe:2.3:a:mit:kerberos_5:1.20:-:*:*:*:*:*:*
cpe:2.3:a:mit:kerberos_5:1.20:beta1:*:*:*:*:*:*
cpe:2.3:a:heimdal_project:heimdal:*:*:*:*:*:*:*:* 7.7.1 (excluding)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.15.12 (excluding)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.16.0 (including) 4.16.7 (excluding)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.17.0 (including) 4.17.3 (excluding)