Race Condition Affecting zstd package, versions <1.3.8-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.85% (89th 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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-ZSTD-8487298
  • published6 Dec 2024
  • disclosed25 Jul 2019

Introduced: 25 Jul 2019

CVE-2019-11922  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 zstd to version 1.3.8-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.21 relevant fixed versions and status.

A race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.

CVSS Scores

version 3.1