Integer Overflow or Wraparound Affecting zchunk/zchunk package, versions [,1.3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (8th 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 IDSNYK-UNMANAGED-ZCHUNKZCHUNK-6009156
  • published19 Oct 2023
  • disclosed19 Oct 2023
  • creditUnknown

Introduced: 19 Oct 2023

CVE-2023-46228  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade zchunk/zchunk to version 1.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c components. An attacker can cause the system to experience integer overflows by submitting malformed zchunk files. This can potentially lead to unexpected behavior or crashes.

References

CVSS Base Scores

version 3.1