Uncontrolled Recursion Affecting krb5-pkinit package, versions <0:1.15.1-37.amzn2.2.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.31% (71st 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-AMZN2-KRB5PKINIT-3042529
  • published12 Oct 2022
  • disclosed6 Nov 2020

Introduced: 6 Nov 2020

CVE-2020-28196  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 krb5-pkinit to version 0:1.15.1-37.amzn2.2.3 or higher.
This issue was patched in ALAS2-2022-1845.

NVD Description

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

MIT Kerberos 5 (aka krb5) before 1.17.2 and 1.18.x before 1.18.3 allows unbounded recursion via an ASN.1-encoded Kerberos message because the lib/krb5/asn.1/asn1_encode.c support for BER indefinite lengths lacks a recursion limit.

References

CVSS Scores

version 3.1