Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-24031 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404 | CVE | ExploitIssue TrackingMailing ListThird Party Advisory |
| https://github.com/facebook/zstd/issues/1630 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://www.facebook.com/security/advisories/cve-2021-24031 | CVE | Vendor Advisory |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404 | [email protected] | ExploitIssue TrackingMailing ListThird Party Advisory |
| https://github.com/facebook/zstd/issues/1630 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://www.facebook.com/security/advisories/cve-2021-24031 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
| CWE-277 | Insecure Inherited Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| facebook zstandard | < 1.4.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 14, 2021 | Reanalysis | [email protected] |
| Mar 9, 2021 | Initial Analysis | [email protected] |