{"id":"CVE-2021-24031","published":"2021-03-04T20:15:21Z","modified":"2024-08-03T19:21:17Z","title":"In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions","vendor":"Meta","product":"Zstandard","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00465,"percentile":0.40195,"provenance":"source"},"cwes":[{"id":"CWE-277","name":"Insecure Inherited Permissions"}],"references":[{"url":"https://github.com/facebook/zstd/issues/1630","tags":["x_refsource_MISC"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404","tags":["x_refsource_MISC"]},{"url":"https://www.facebook.com/security/advisories/cve-2021-24031","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":8.04}]},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"Zstandard","versions":[">= unspecified, < 1.4.1"]}],"euvd":{"id":"EUVD-2021-10951","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-meta-zstandard-cve-2021-24031","children":[{"from":"CVE-2021-24031","to":"CVE-2021-24032","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards.","from":"CVE.org","in":"CVE-2021-24032"},{"kind":"similar","provenance":"machine","score":0.7,"basis":"same product + CWE + description similarity"}]}]}}