Incorrect Default Permissions Affecting libzstd-devel package, versions <1.4.4-1.6.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.02% (5th percentile)

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 Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES152-LIBZSTDDEVEL-2684762
  • published14 Apr 2022
  • disclosed24 Mar 2021

Introduced: 24 Mar 2021

CVE-2021-24031  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 libzstd-devel to version 1.4.4-1.6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libzstd-devel package and not the libzstd-devel package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1