Incorrect default permissions in Meta Zstandard
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Zstandard (Facebook) Fixed in 1.4.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Facebook Zstandard 1.4.1, unspecified
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2021-06349 Incorrect default permissions in Meta ZstandardPriority LOW 22
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 3 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Out of support scope |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenStack Platform 16.1
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24031
- 2026-10-03 Alias added: GHSA-5mqj-v3fr-pg3x
References
More Meta Zstandard vulnerabilities
- TI-2022-04490 Uncontrolled resource consumption in zstd CVSS 3.1HIGH 7.5
- TI-2019-08927 Race condition in Meta Zstandard CVSS 3.0HIGH 8.1
- TI-2021-06349 Incorrect default permissions in Meta Zstandard CVSS 3.1MEDIUM 4.7
Sources
- CVE-2021-24031 · CVE Program
- CVE-2021-24031 · NVD
- FIRST EPSS
- GHSA-5mqj-v3fr-pg3x · GitHub Advisory Database · CC BY 4.0
- CVE-2021-24031 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences