Loop with Unreachable Exit Condition ('Infinite Loop') Affecting ckolivas/lrzip package, versions [,0.640)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.15% (64th 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-CKOLIVASLRZIP-2367338
  • published26 Jan 2022
  • disclosed27 Mar 2018
  • creditUnknown

Introduced: 27 Mar 2018

CVE-2018-9058  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade ckolivas/lrzip to version 0.640 or higher.

Overview

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop'). In Long Range Zip (aka lrzip) 0.631, there is an infinite loop in the runzip_fd function of runzip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted lrz file.

References

CVSS Base Scores

version 3.1