CVE-2021-24031
Last modified
CVE-2021-24031 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zstandard | < 1.4.1 |
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/facebook/zstd/issues/1630Exploit, Issue Tracking, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24031Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/facebook/zstd/issues/1630Exploit, Issue Tracking, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24031Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24031?
How severe is CVE-2021-24031?
How do I fix CVE-2021-24031?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-24026A missing bounds check within the audio decoding pipeline fo…9.8
- CVE-2021-24027A cache configuration issue prior to WhatsApp for Android v2…7.5
- CVE-2021-24028An invalid free in Thrift's table-based serialization can ca…9.8
- CVE-2021-24029A packet of death scenario is possible in mvfst via a specia…7.5
- CVE-2021-2403Vulnerability in the Oracle WebLogic Server product of Oracl…5.3
- CVE-2021-24030The fbgames protocol handler registered as part of Facebook …9.8
- CVE-2021-24032Beginning in v1.4.1 and prior to v1.4.9, due to an incomplet…4.7
- CVE-2021-24033react-dev-utils prior to v11.0.4 exposes a function, getProc…5.6
- CVE-2021-24035A lack of filename validation when unzipping archives prior …9.1
- CVE-2021-24036Passing an attacker controlled size when creating an IOBuf c…9.8
- CVE-2021-24037A use after free in hermes, while emitting certain error mes…9.8
- CVE-2021-24038Due to a bug with management of handles in OVRServiceLaunche…7.8
Are you affected by CVE-2021-24031?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
