CVE-2021-27645 Use after free in n/a

Low 2.5 Published Updated

A double-free vulnerability in glibc's nscd daemon allows local attackers to cause a denial of service via netgroup lookups.

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

What is CVE-2021-27645?

CVE-2021-27645 is a low-severity use after free vulnerability in Debian Debian Linux, published on 24 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The nameserver caching daemon (nscd) in the GNU C Library (aka glibc or libc6) 2.29 through 2.33, when processing a request for netgroup lookup, may crash due to a double-free, potentially resulting in degraded service or Denial of Service on the local system. This is related to netgroupcache.c.

Weakness: CWE-415

Which versions are affected by CVE-2021-27645?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Glibc.

How do I fix CVE-2021-27645?

Apply the vendor's patch.

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-2021-27645 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-27645, GHSA-2hpw-5cjm-953f, MGASA-2021-0138, UBUNTU-CVE-2021-27645.

Is CVE-2021-27645 in your software?

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

Check your SBOMs for free