CVE-2024-33599 nscd: Stack-based buffer overflow in netgroup cache

High 8.1 Published Updated

A stack-based buffer overflow in the nscd netgroup cache allows attackers to execute arbitrary code or cause denial of service.

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

What is CVE-2024-33599?

CVE-2024-33599 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 6 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

nscd: Stack-based buffer overflow in netgroup cache

If the Name Service Cache Daemon's (nscd) fixed size cache is exhausted by client requests then a subsequent client request for netgroup data may result in a stack-based buffer overflow. This flaw was introduced in glibc 2.15 when the cache was added to nscd.

This vulnerability is only present in the nscd binary.

Weakness: CWE-121

Which versions are affected by CVE-2024-33599?

It affects 8 products.

Linux distribution packages (1)
glibc openSUSE:TumbleweedAll versions2.39-6.1

Products include Debian Debian Linux, Gnu Glibc, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware and 2 more.

How do I fix CVE-2024-33599?

Apply the vendor's patch.

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

Is CVE-2024-33599 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-40288, AZL-40310, BELL-CVE-2024-33599, CLSA-2024-1718900760, CLSA-2024-1718901417, CLSA-2024-1718973147 and 8 more.

Is CVE-2024-33599 in your software?

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

Check your SBOMs for free