Infinite Loop Affecting github.com/ulikunitz/xz Open this link in a new tab package, versions <0.5.8


0.0
high
  • Attack Complexity

    Low

  • Availability

    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.