medium5.5
CVE-2021-24031
In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Zstandard | before 1.4.1 |
Weakness classification
References
- NVD record
- CVE.org record
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404
- https://github.com/facebook/zstd/issues/1630
- 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
- https://www.facebook.com/security/advisories/cve-2021-24031