CVE-2021-30501 Denial of service in upx

Medium 5.5 Published Updated

Attackers can cause a denial of service via a crafted file due to an assertion abort in UPX, affecting users of the executable packer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-30501?

CVE-2021-30501 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 26 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.

Weakness: CWE-617, CWE-20

Which versions are affected by CVE-2021-30501?

It affects 3 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Upx Upx.

How do I fix CVE-2021-30501?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-30501 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-30501, GHSA-88gh-wqj4-3fxr, UBUNTU-CVE-2021-30501.

Is CVE-2021-30501 in your software?

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

Check your SBOMs for free