CVE-2021-30139 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in the apk-tools tarball parser allows attackers to cause a crash, impacting Alpine Linux system stability.

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

CVE-2021-30139 is a high-severity memory corruption vulnerability in n/a, published on 21 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Weakness: CWE-125

Which versions are affected by CVE-2021-30139?

It affects 1 product.

Products include Alpinelinux Apk-Tools.

How do I fix CVE-2021-30139?

Upgrade to a fixed version.

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

Is CVE-2021-30139 being exploited?

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

Sources

Also known as ALPINE-CVE-2021-30139, CLEANSTART-2024-WL06941, GHSA-j8vp-8v7m-rpjr.

Is CVE-2021-30139 in your software?

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

Check your SBOMs for free