CVE-2021-24031
libzstd - security update
5.5
MEDIUM
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2021-24031
To remediate CVE-2021-24031, upgrade the affected package to a fixed version below.
- —upgrade to 1.4.1-r0 or later
- —upgrade to 1.4.8+dfsg-1 or later
- —upgrade to 1.1.2-1+deb9u1 or later
- —upgrade to 1.3.8+dfsg-3+deb10u1 or later
Is CVE-2021-24031 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.4.1-r0
- from 0, < 1.4.8+dfsg-1
- from 0, < 1.1.2-1+deb9u1
- from 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 |