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 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Zstandard | >= unspecified, < 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
- Mar 4, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified