Integer Overflow or Wraparound Affecting krb5-debugsource package, versions <0:1.19.2-13.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.72% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-KRB5DEBUGSOURCE-3350353
  • published7 Mar 2023
  • disclosed25 Dec 2022

Introduced: 25 Dec 2022

CVE-2022-42898  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 krb5-debugsource to version 0:1.19.2-13.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-103.

NVD Description

Note: Versions mentioned in the description apply only to the upstream krb5-debugsource package and not the krb5-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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 Scores

version 3.1