Infinite Loop Affecting github.com/ulikunitz/xz package, versions <0.5.8


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.65% (80th 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-GOLANG-GITHUBCOMULIKUNITZXZ-598892
  • published1 Sept 2020
  • disclosed19 Aug 2020
  • credit0xdecaf

Introduced: 19 Aug 2020

CVE-2020-16845  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade github.com/ulikunitz/xz to version 0.5.8 or higher.

Overview

github.com/ulikunitz/xz is a package for reading and writing of xz compressed streams.

Affected versions of this package are vulnerable to Infinite Loop. An attacker could construct a byte sequence so that readUvarint would not stop to consume bytes.

CVSS Base Scores

version 3.1