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
Link | Resource |
---|---|
https://www.facebook.com/security/advisories/cve-2021-24031 | Vendor Advisory |
https://github.com/facebook/zstd/issues/1630 | Exploit Issue Tracking Third Party Advisory |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404 | Exploit Issue Tracking Mailing List Third Party Advisory |
Configurations
Information
Published : 2021-03-04 13:15
Updated : 2021-04-14 08:28
NVD link : CVE-2021-24031
Mitre link : CVE-2021-24031
JSON object : View
CWE
CWE-276
Incorrect Default Permissions
Products Affected
- zstandard