CVEfocus › CVE database › CVE-2021-28831

CVE-2021-28831

CVSS 7.5 HighEPSS 2.7% (higher than 87% of CVEs)Published 2021-03-19Updated 2025-12-17Assigner: mitre

decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit on the huft_build result pointer, with a resultant invalid free or segmentation fault, via malformed gzip data.

CWE-755

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04busyboxFixed1:1.30.1-7ubuntu2UBUNTU-CVE-2021-28831
Ubuntu 20.04busyboxFixed1:1.30.1-4ubuntu6.4UBUNTU-CVE-2021-28831
Ubuntu 18.04busyboxFixed1:1.27.2-2ubuntu3.4UBUNTU-CVE-2021-28831
Ubuntu 16.04busyboxFix pending1:1.22.0-15ubuntu1.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-28831
Ubuntu 14.04busyboxFix pending1:1.21.0-1ubuntu1.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-28831
Debian 14busyboxFixed1:1.35.0-1DEBIAN-CVE-2021-28831
Debian 13busyboxFixed1:1.35.0-1DEBIAN-CVE-2021-28831
Debian 12busyboxFixed1:1.35.0-1DEBIAN-CVE-2021-28831
Red Hat Enterprise Linux 6busyboxNot affected
Red Hat Enterprise Linux 6busybox-petitbootNot affected
Alpine Linux 3.24busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.23busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.22busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.21busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.20busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.19busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.18busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.17busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.16busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.15busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.14busyboxFixed1.33.0-r5ALPINE-CVE-2021-28831
Alpine Linux 3.13busyboxFixed1.32.1-r4ALPINE-CVE-2021-28831
Alpine Linux 3.12busyboxFixed1.31.1-r20ALPINE-CVE-2021-28831
Alpine Linux 3.11busyboxFixed1.31.1-r10ALPINE-CVE-2021-28831
Alpine Linux 3.10busyboxFixed1.30.1-r5ALPINE-CVE-2021-28831

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.