CVE-2021-24031
MEDIUM5.5EPSS 0.06%libzstd - security update
Published: 3/4/2021Modified: 12/3/2025
Also known as:ALPINE-CVE-2021-24031
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.
Affected packages (4)
- Alpine/zstdfrom 0, < 1.4.1-r0
- Debian/libzstdfrom 0, < 1.4.8+dfsg-1
- Debian/libzstdfrom 0, < 1.1.2-1+deb9u1
- Debian/libzstdfrom 0, < 1.3.8+dfsg-3+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |