CVE-2021-24031

zstd: adds read permissions to files while being compressed or uncompressed

Published Mar 4, 2021 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-10951 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.
Ubuntu USN Ubuntu USN USN-4760-1 libzstd vulnerabilities
Ubuntu USN Ubuntu USN USN-5720-1 Zstandard vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00022}

epss

{'score': 0.00063}

Weaknesses

Sources

Status
PUBLISHED
Assigner
facebook
Published
Updated
Aug 3, 2024, 7:21 PM
Reserved
Jan 13, 2021, 12:00 AM
Status
Modified
Published
Mar 4, 2021, 9:15 PM
Modified
Jun 17, 2026, 3:39 AM
Severity
Low
Public date
Feb 11, 2021, 12:00 AM