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."
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://web.mit.edu/kerberos/advisories/ | vendor advisory |
https://www.samba.org/samba/security/CVE-2022-42898.html | third party advisory |
https://github.com/krb5/krb5/commit/ea92d2f0fcceb54a70910fa32e9a0d7a5afc3583 | third party advisory patch |
https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c | third party advisory |
https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txt | vendor advisory |
https://web.mit.edu/kerberos/krb5-1.19/ | release notes vendor advisory |
https://bugzilla.samba.org/show_bug.cgi?id=15203 | patch exploit third party advisory issue tracking |
https://security.netapp.com/advisory/ntap-20230216-0008/ | |
https://security.netapp.com/advisory/ntap-20230223-0001/ | |
https://security.gentoo.org/glsa/202309-06 | vendor advisory |
https://security.gentoo.org/glsa/202310-06 | vendor advisory |