CVE-2021-42008 Memory corruption in n/a

High 7.8 Published Updated

A slab out-of-bounds write in the Linux kernel 6pack driver allows local attackers with CAP_NET_ADMIN to gain root access.

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-42008?

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

Official description

The decode_data function in drivers/net/hamradio/6pack.c in the Linux kernel before 5.13.13 has a slab out-of-bounds write. Input from a process that has the CAP_NET_ADMIN capability can lead to root access.

Weakness: CWE-787

Which versions are affected by CVE-2021-42008?

It affects 11 products.

Products include Debian Debian Linux, Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 5 more.

How do I fix CVE-2021-42008?

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

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

Public exploit code: 3 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-6598, DEBIAN-CVE-2021-42008, GHSA-qv6w-x298-fgf8, UBUNTU-CVE-2021-42008.

Is CVE-2021-42008 in your software?

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

Check your SBOMs for free