Incorrect Default Permissions Affecting zstd package, versions <1.4.9-r0


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

    Threat Intelligence

    EPSS 0.05% (16th percentile)
Expand this section
NVD
4.7 medium
Expand this section
SUSE
6.2 medium
Expand this section
Red Hat
5.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-ALPINE311-ZSTD-1315099
  • published 16 Jun 2021
  • disclosed 4 Mar 2021

How to fix?

Upgrade Alpine:3.11 zstd to version 1.4.9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zstd package and not the zstd package as distributed by Alpine. See How to fix? for Alpine:3.11 relevant fixed versions and status.

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.