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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 5.44% (94th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
7.5 high

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-GOLANG-GITHUBCOMULIKUNITZXZ-598892
  • published 1 Sep 2020
  • disclosed 19 Aug 2020
  • credit 0xdecaf

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.