CVE-2022-42898: Buffer Overflow
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 krb5pacparse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has "a similar bug."
Other sources
Three integer overflow vulnerabilities have been discovered in the MIT krb5 library function krb5parsepac()
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/heimdalto a version that resolves this vulnerability.Fixed in 7.8.git20221117.28daf24+dfsg-2Fixed in 7.8.git20221117.28daf24+dfsg-9+deb13u1Fixed in 7.8.git20240113.1b4565a+dfsg-2 - Upgrade
Upgrade
debian/krb5to a version that resolves this vulnerability.Fixed in 1.20.1-2+deb12u5Fixed in 1.21.3-5+deb13u1Fixed in 1.22.1-3 - Upgrade
Upgrade
debian/sambato a version that resolves this vulnerability.Fixed in 2:4.17.12+dfsg-0+deb12u4Fixed in 2:4.22.11+dfsg-0+deb13u1Fixed in 2:4.22.10+dfsg-0+deb13u2Fixed in 2:4.25.1+dfsg-1 - Upgrade
Upgrade
alpine/heimdalto a version that resolves this vulnerability.Fixed in 7.7.1-r0 - Upgrade
Upgrade
alpine/krb5to a version that resolves this vulnerability.Fixed in 1.19.4-r0 - Upgrade
Upgrade
alpine/krb5to a version that resolves this vulnerability.Fixed in 1.20.1-r0 - Upgrade
Upgrade
alpine/sambato a version that resolves this vulnerability.Fixed in 4.15.12-r0 - Upgrade
Upgrade
alpine/sambato a version that resolves this vulnerability.Fixed in 4.16.7-r0 - Upgrade
Upgrade
debian/heimdalto a version that resolves this vulnerability.Fixed in 7.8.git20221115.a6cf945+dfsg-1 - Upgrade
Upgrade
debian/krb5to a version that resolves this vulnerability.Fixed in 1.20.1-1 - Upgrade
Upgrade
debian/sambato a version that resolves this vulnerability.Fixed in 2:4.17.3+dfsg-1 - Upgrade
Upgrade
redhat/krb5to a version that resolves this vulnerability.Fixed in 1.20.1 - Upgrade
Upgrade
redhat/krb5to a version that resolves this vulnerability.Fixed in 1.19.4
Event History
Frequently Asked Questions
What is the vulnerability ID of this security issue?
The vulnerability ID of this security issue is CVE-2022-42898.
What is the severity rating of CVE-2022-42898?
CVE-2022-42898 has a severity rating of 8.8 (High).
Which software versions are affected by CVE-2022-42898?
MIT Kerberos 5 versions before 1.19.4 and 1.20.x before 1.20.1 are affected.
How can CVE-2022-42898 lead to remote code execution?
CVE-2022-42898 can lead to remote code execution due to integer overflows in PAC parsing.
Where can I find more information about CVE-2022-42898?
You can find more information about CVE-2022-42898 in the references provided: [link1] [link2] [link3].