CVE & CISA-KEV Catalog

CVE-2021-24031

MEDIUM
5.5
CVSS v3
NVD

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

Remediation Available
libzstdDebian
Fixed in:1.4.8+dfsg-1CVE-2021-24031
Fixed in:1.4.8+dfsg-1CVE-2021-24031
Fixed in:1.4.8+dfsg-1CVE-2021-24031
Fixed in:1.4.8+dfsg-1CVE-2021-24031
libzstdUbuntu
Fixed in:1.3.1+dfsg-1~ubuntu0.16.04.1+esm3USN-5720-1
Fixed in:1.3.3+dfsg-2ubuntu1.2USN-4760-1
Fixed in:1.4.4+dfsg-3ubuntu0.1USN-4760-1
libzstd1Ubuntu
Fixed in:1.3.1+dfsg-1~ubuntu0.16.04.1+esm3USN-5720-1
Fixed in:1.3.3+dfsg-2ubuntu1.2USN-4760-1
Fixed in:1.4.4+dfsg-3ubuntu0.1USN-4760-1
zstdUbuntu
Fixed in:1.3.1+dfsg-1~ubuntu0.16.04.1+esm3USN-5720-1
Fixed in:1.3.3+dfsg-2ubuntu1.2USN-4760-1
Fixed in:1.4.4+dfsg-3ubuntu0.1USN-4760-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.43%probability of exploitation in 30 days
35thpercentile

Low risk: more likely to be exploited than 35% of all known CVEs.

References

Embed a live status badge for CVE-2021-24031
CVE-2021-24031 severity badge

Markdown

[![CVE-2021-24031](https://tridentstack.com/cve/badge/CVE-2021-24031.svg)](https://tridentstack.com/cve/CVE-2021-24031)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-24031"><img src="https://tridentstack.com/cve/badge/CVE-2021-24031.svg" alt="CVE-2021-24031"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.