{"id":"CVE-2021-24031","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-24031","generatedAt":"2026-10-28T04:17:24.796Z","title":"In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions.","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.","published":"2021-03-04T21:15:13.000Z","lastModified":"2026-06-17T03:39:12.000Z","status":"Modified","sourceIdentifier":"cve-assign@fb.com","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-277","CWE-276"],"affected":["facebook/zstandard"],"epss":{"score":0.00465,"percentile":0.4012,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.46%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404","tags":["Exploit","Issue Tracking","Mailing List","Third Party Advisory"],"source":"cve-assign@fb.com"},{"url":"https://github.com/facebook/zstd/issues/1630","tags":["Exploit","Issue Tracking","Third Party Advisory"],"source":"cve-assign@fb.com"},{"url":"https://www.facebook.com/security/advisories/cve-2021-24031","tags":["Vendor Advisory"],"source":"cve-assign@fb.com"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404","tags":["Exploit","Issue Tracking","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/facebook/zstd/issues/1630","tags":["Exploit","Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.facebook.com/security/advisories/cve-2021-24031","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-24031","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}