CVE-2021-24031
Dashboard / Vulnerabilities / CVE-2021-24031
CVE-2021-24031
Published: 4 Mar 2021Last Modified: 9 Jul 2026
Summary:
Details: In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions. Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties.
References: https://www.facebook.com/security/advisories/cve-2021-24031, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404, https://github.com/facebook/zstd/issues/1630
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.4.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
