Access of Uninitialized Pointer Affecting krb5 package, versions <1.20.2-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.45% (76th 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-ALPINE318-KRB5-7413636
  • published1 Jul 2024
  • 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 Alpine:3.18 krb5 to version 1.20.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream krb5 package and not the krb5 package as distributed by Alpine. See How to fix? for Alpine:3.18 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