CVE-2021-24031

Name
CVE-2021-24031
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Vendor Advisory https://www.facebook.com/security/advisories/cve-2021-24031
Exploit https://github.com/facebook/zstd/issues/1630
Exploit https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:facebook:zstandard:*:*:*:*:*:*:*:* zstandard >= None < 1.4.1
cpe:2.3:a:facebook:zstandard:*:*:*:*:*:*:*:* zstd >= None < 1.4.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status