CVE-2023-36054 Use after free in n/a

Medium 6.5 Published Updated

A remote authenticated user can crash the kadmind service by triggering a use-after-free vulnerability in the Kerberos administration daemon.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-36054?

CVE-2023-36054 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 7 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-824

Which versions are affected by CVE-2023-36054?

It affects 7 products.

Linux distribution packages (30)
krb5 SUSE:Enterprise Storage 7.1All versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise Micro 5.1All versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise Micro 5.2All versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise Micro 5.3All versions1.19.2-150400.3.6.1
krb5 SUSE:Linux Enterprise Micro 5.4All versions1.19.2-150400.3.6.1
krb5 SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions1.19.2-150400.3.6.1
krb5 SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.20.1-150500.3.3.1
krb5 SUSE:Linux Enterprise Module for Server Applications 15 SP4All versions1.19.2-150400.3.6.1
krb5 SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions1.20.1-150500.3.3.1
krb5 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.12.5-40.52.1
krb5 SUSE:Linux Enterprise Server 12 SP5All versions1.12.5-40.52.1
krb5 SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.12.5-40.52.1
krb5 SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.16.3-150100.3.30.1
krb5 SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.19.2-150300.13.1
krb5 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.12.5-40.52.1
krb5 SUSE:Manager Proxy 4.2All versions1.19.2-150300.13.1
krb5 SUSE:Manager Server 4.2All versions1.19.2-150300.13.1
krb5 openSUSE:Leap 15.4All versions1.19.2-150400.3.6.1
krb5 openSUSE:Leap 15.5All versions1.20.1-150500.3.3.1
krb5 openSUSE:Leap Micro 5.3All versions1.19.2-150400.3.6.1
krb5 openSUSE:Leap Micro 5.4All versions1.19.2-150400.3.6.1
krb5 openSUSE:TumbleweedAll versions1.21.1-1.1

Products include Debian Debian Linux, Mit Kerberos 5, Netapp Active Iq Unified Manager, Netapp Clustered Data Ontap, Netapp Hci, Netapp Management Services for Element Software and 1 more.

How do I fix CVE-2023-36054?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-36054 being exploited?

There is no known exploitation of CVE-2023-36054 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-36054, AZL-27874, BELL-CVE-2023-36054, CLSA-2023-1700160468, CLSA-2023-1700161076, CLSA-2024-1720178212 and 18 more.

Is CVE-2023-36054 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free