Name
CVE-2022-42898
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."
Published Date
Updated Date
Workaround
-
Advisories
https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3cThird Party Advisory
https://web.mit.edu/kerberos/advisories/Vendor Advisory
https://web.mit.edu/kerberos/krb5-1.19/Release Notes
https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txtVendor Advisory
https://www.samba.org/samba/security/CVE-2022-42898.htmlThird Party Advisory
https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3cThird Party Advisory
https://web.mit.edu/kerberos/advisories/Vendor Advisory
https://web.mit.edu/kerberos/krb5-1.19/Release Notes
https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txtVendor Advisory
https://www.samba.org/samba/security/CVE-2022-42898.htmlThird Party Advisory
Analysis#
Vulnerability Ratings#
8.8
CVSSv31
8.8
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.21.3
Not Affected
buildroot
2025.02.x
4.22.10
Not Affected
buildroot
master
1.22.2
Not Affected
buildroot
master
4.24.3
Not Affected
openwrt
master
1.22.2-r1
Not Affected
openwrt
master
4.22.7-r3
Not Affected
openwrt
openwrt-25.12
1.22.1-r1
Not Affected
openwrt
openwrt-25.12
4.22.7-r3
Not Affected
yocto
master
1.22.2
Not Affected
yocto
master
4.23.5
Not Affected
yocto
scarthgap
1.21.3
Not Affected
yocto
scarthgap
4.19.9
Not Affected
Resolved with patches#
krb5 (yocto:kirkstone)
#
Title
Author
Resolve
1
Fix integer overflows in PAC parsing
Greg Hudson <ghudson@mit.edu>
CVE-2022-42898