CVE-2021-24032

MEDIUM

Zstandard 1.4.1-1.4.8 - Insecure Inherited Permissions via Output File Creation

Title source: llm
STIX 2.1

Description

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. Output files could therefore momentarily be readable or writable to unintended parties.

References (3)

Core 3
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/facebook/zstd/issues/2491
Patch, Third Party Advisory x_refsource_misc
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982519
Third Party Advisory x_refsource_misc
https://www.facebook.com/security/advisories/cve-2021-24032

Scores

CVSS v3 4.7
EPSS 0.0035
EPSS Percentile 26.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-277 CWE-276
Status published
Products (1)
facebook/zstandard 1.4.1 - 1.4.9
Published Mar 04, 2021
Tracked Since Feb 18, 2026