Vulnerability · Published Mar 4, 2021 · Assigned by facebook
CVE-2021-24032
Medium 4.7
In plain English
A medium-severity security flaw in Zstandard from Facebook. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)4.7Medium
Exploit odds (30 days)0.3%top 71.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | zstd | 1.4.9-r0 | ALPINE-CVE-2021-24032 |
| Alpine:v3.21 | zstd | 1.4.9-r0 | ALPINE-CVE-2021-24032 |
| Alpine:v3.22 | zstd | 1.4.9-r0 | ALPINE-CVE-2021-24032 |
| Alpine:v3.23 | zstd | 1.4.9-r0 | ALPINE-CVE-2021-24032 |
| Alpine:v3.24 | zstd | 1.4.9-r0 | ALPINE-CVE-2021-24032 |
| Debian:12 | libzstd | 1.4.8+dfsg-2 | DEBIAN-CVE-2021-24032 |
| Debian:13 | libzstd | 1.4.8+dfsg-2 | DEBIAN-CVE-2021-24032 |
| Debian:14 | libzstd | 1.4.8+dfsg-2 | DEBIAN-CVE-2021-24032 |
Affected products (as reported)
Weakness: CWE-277
References
- https://github.com/facebook/zstd/issues/2491 x_refsource_MISC
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982519 x_refsource_MISC
- https://www.facebook.com/security/advisories/cve-2021-24032 x_refsource_MISC