CVE-2021-24031
Last modified
CVE-2021-24031 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zstandard | < 1.4.1 |
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/facebook/zstd/issues/1630Exploit, Issue Tracking, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24031Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/facebook/zstd/issues/1630Exploit, Issue Tracking, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24031Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24031?
How severe is CVE-2021-24031?
How do I fix CVE-2021-24031?
Are you affected by CVE-2021-24031?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
