CVEfocus › CVE database › CVE-2021-24032

CVE-2021-24032

CVSS 4.7 MediumEPSS 0.3% (higher than 21% of CVEs)Published 2021-03-04Updated 2026-10-08Assigner: facebook

Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards. Output files could therefore momentarily be readable or writable to unintended parties.

CWE-277

What to do

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

Red Hat, Ubuntu have 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

19Fixed
4Fix pending
3Not 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 20.04libzstdFixed1.4.4+dfsg-3ubuntu0.1UBUNTU-CVE-2021-24032
Ubuntu 18.04libzstdFixed1.3.3+dfsg-2ubuntu1.2UBUNTU-CVE-2021-24032
Ubuntu 16.04libzstdFix pending1.3.1+dfsg-1~ubuntu0.16.04.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2021-24032
Debian 14libzstdFixed1.4.8+dfsg-2DEBIAN-CVE-2021-24032
Debian 13libzstdFixed1.4.8+dfsg-2DEBIAN-CVE-2021-24032
Debian 12libzstdFixed1.4.8+dfsg-2DEBIAN-CVE-2021-24032
Red Hat Enterprise Linux 9libzstdNot affected
Red Hat Enterprise Linux 9libzstd-develNot affected
Red Hat Enterprise Linux 9zstdNot affected
Red Hat Enterprise Linux 8libzstdFix pending
Fix deferred
Red Hat Enterprise Linux 8libzstd-develFix pending
Fix deferred
Red Hat Enterprise Linux 8zstdFix pending
Fix deferred
Alpine Linux 3.24zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.23zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.22zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.21zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.20zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.19zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.18zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.17zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.16zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.15zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.14zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.13zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.12zstdFixed1.4.9-r0ALPINE-CVE-2021-24032
Alpine Linux 3.11zstdFixed1.4.9-r0ALPINE-CVE-2021-24032

What the vendor says

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

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.