CVE-2022-42898
Vulnerability Summary
Timeline
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."
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 10.83%• Percentile: 94%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
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.
Affected Systems
- heimdal_project•heimdal
< 7.7.1
- mit•kerberos_5
≥ 1.8, < 1.19.4 | 1.20 | 1.20:beta1
- samba•samba
< 4.15.12 | ≥ 4.16.0, < 4.16.7 | ≥ 4.17.0, < 4.17.3
References (11)
- https://web.mit.edu/kerberos/advisories/
- https://www.samba.org/samba/security/CVE-2022-42898.html
- https://github.com/krb5/krb5/commit/ea92d2f0fcceb54a70910fa32e9a0d7a5afc3583
- https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c
- https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txt
- https://web.mit.edu/kerberos/krb5-1.19/
- https://bugzilla.samba.org/show_bug.cgi?id=15203
- https://security.netapp.com/advisory/ntap-20230216-0008/
- https://security.netapp.com/advisory/ntap-20230223-0001/
- https://security.gentoo.org/glsa/202309-06
- https://security.gentoo.org/glsa/202310-06