Access of Uninitialized Pointer Affecting krb5-pkinit package, versions <0:1.15.1-55.amzn2.2.6


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.52% (77th 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-5881974
  • published6 Sept 2023
  • disclosed7 Aug 2023

Introduced: 7 Aug 2023

CVE-2023-36054  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 krb5-pkinit to version 0:1.15.1-55.amzn2.2.6 or higher.
This issue was patched in ALAS2-2023-2225.

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.

lib/kadm5/kadm_rpc_xdr.c in MIT Kerberos 5 (aka krb5) before 1.20.2 and 1.21.x before 1.21.1 frees an uninitialized pointer. A remote authenticated user can trigger a kadmind crash. This occurs because _xdr_kadm5_principal_ent_rec does not validate the relationship between n_key_data and the key_data array count.

CVSS Scores

version 3.1