CVE-2021-24031

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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404 Exploit Issue Tracking Mailing List Third Party Advisory
https://github.com/facebook/zstd/issues/1630 Exploit Issue Tracking Third Party Advisory
https://www.facebook.com/security/advisories/cve-2021-24031 Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:facebook:zstandard:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2021-03-04 21:15

Updated : 2024-02-28 18:08


NVD link : CVE-2021-24031

Mitre link : CVE-2021-24031

CVE.ORG link : CVE-2021-24031


JSON object : View

Products Affected

facebook

  • zstandard
CWE
CWE-276

Incorrect Default Permissions

CWE-277

Insecure Inherited Permissions