CVE-2021-24032

Summary

CVECVE-2021-24032
StatePUBLISHED
Assignerfacebook
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-04 21:15:12 UTC
Updated2026-10-08 21:17:33 UTC
DescriptionBeginning 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.003480000 probability, percentile 0.264430000 (date 2026-10-10)

Problem Types: CWE-277 | CWE-276 | CWE-277 Insecure Inherited Permissions (CWE-277)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary1.9AV:L/AC:M/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:L/AC:M/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Facebook Zstandard All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Facebook Zstandard unaffected 1.4.9 unspecified custom Not specified
CNA Facebook Zstandard affected 1.4.1 unspecified custom Not specified
CNA Facebook Zstandard unaffected unspecified 1.4.1 custom Not specified

References

ReferenceSourceLinkTags
#982519 - zstd: Race condition allows attacker to access world-readable destination file - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org Patch, Third Party Advisory
Race condition allows attacker to access world-readable destination file · Issue #2491 · facebook/zstd · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch, Third Party Advisory
Facebook af854a3a-2127-422b-91ae-364da2661108 www.facebook.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 174840 SUSE Enterprise Linux Security update for zstd (SUSE-SU-2021:0948-1)
  • 174859 SUSE Enterprise Linux Security update for zstd (SUSE-SU-2021:0948-1)
  • 180340 Debian Security Update for libzstd (CVE-2021-24032)
  • 500836 Alpine Linux Security Update for zstd
  • 504574 Alpine Linux Security Update for zstd
  • 670502 EulerOS Security Update for zstd (EulerOS-SA-2021-2260)
  • 670528 EulerOS Security Update for zstd (EulerOS-SA-2021-2286)
  • 670732 EulerOS Security Update for zstd (EulerOS-SA-2021-2490)
  • 750290 OpenSUSE Security Update for zstd (openSUSE-SU-2021:0481-1)
  • 900210 CBL-Mariner Linux Security Update for zstd 1.4.4
  • 900211 CBL-Mariner Linux Security Update for moby-containerd 1.4.4
  • 903584 Common Base Linux Mariner (CBL-Mariner) Security Update for zstd (4698)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report