CVE-2024-33602 nscd: netgroup cache assumes NSS callback uses in-buffer strings

High 7.4 Published Updated

An attacker can trigger memory corruption in the nscd netgroup cache if the NSS callback misuses buffers, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-33602?

CVE-2024-33602 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 6 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

nscd: netgroup cache assumes NSS callback uses in-buffer strings

The Name Service Cache Daemon's (nscd) netgroup cache can corrupt memory when the NSS callback does not store all strings in the provided buffer. The 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-466

Which versions are affected by CVE-2024-33602?

It affects 11 products.

Products include Debian Debian Linux, Gnu Glibc, Netapp Element Software, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 5 more.

How do I fix CVE-2024-33602?

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-33602 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-40319, BELL-CVE-2024-33602, DEBIAN-CVE-2024-33602, GHSA-f4pv-q5f7-2h55, MINI-46ch-3gj4-6262, MINI-chpf-v3qh-r4vh and 1 more.

Is CVE-2024-33602 in your software?

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

Check your SBOMs for free