CVE-2021-24032

zstd: Race condition allows attacker to access world-readable destination file

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

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-10952 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.
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 ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-276

    Incorrect Default Permissions

  • CWE-277

    Insecure Inherited Permissions

  • CWE-281

    Improper Preservation of Permissions

Sources

Status
PUBLISHED
Assigner
facebook
Published
Updated
Oct 8, 2026, 9:03 PM
Reserved
Jan 13, 2021, 12:00 AM
Status
Modified
Published
Mar 4, 2021, 9:15 PM
Modified
Oct 8, 2026, 9:17 PM
Severity
Low
Public date
Feb 11, 2021, 12:00 AM