CVE-2021-31871 Integer overflow in n/a

High 7.5 Published Updated

An integer overflow in klibc's cpio command causes a NULL pointer dereference, leading to denial of service on 64-bit systems.

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

What is CVE-2021-31871?

CVE-2021-31871 is a high-severity vulnerability in Debian Debian Linux, published on 30 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems.

Weakness: CWE-190

Which versions are affected by CVE-2021-31871?

It affects 2 products.

Products include Debian Debian Linux, Klibc Project Klibc.

How do I fix CVE-2021-31871?

Upgrade to a fixed version.

Is CVE-2021-31871 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-31871, GHSA-xhrj-7pjg-g5cf, UBUNTU-CVE-2021-31871.

Is CVE-2021-31871 in your software?

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

Check your SBOMs for free