CVE-2023-25565 GSS-NTLMSSP vulnerable to incorrect free when decoding target information

High 7.5 Published Updated

An attacker can cause a denial of service in applications using GSS-NTLMSSP by triggering an incorrect free operation during NTLM authentication decoding.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-25565?

CVE-2023-25565 is a high-severity memory corruption vulnerability in gssapi gss-ntlmssp, published on 14 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, an incorrect free when decoding target information can trigger a denial of service. The error condition incorrectly assumes the `cb` and `sh` buffers contain a copy of the data that needs to be freed. However, that is not the case. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This will likely trigger an assertion failure in `free`, causing a denial-of-service. This issue is fixed in version 1.2.0.

Weakness: CWE-763, CWE-590

Which versions are affected by CVE-2023-25565?

It affects 1 product.

Products include Gss-Ntlmssp Project Gss-Ntlmssp.

How do I fix CVE-2023-25565?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-25565 being exploited?

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

Sources

Also known as AZL-43606, AZL-45279, DEBIAN-CVE-2023-25565, GHSA-7q7f-wqcg-mvfg, ROOT-OS-UBUNTU-2204-CVE-2023-25565, UBUNTU-CVE-2023-25565.

Is CVE-2023-25565 in your software?

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

Check your SBOMs for free