Out-of-Bounds Affecting nih-at/libzip package, versions [,1.3.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.37% (73rd 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-NIHATLIBZIP-2364692
  • published26 Jan 2022
  • disclosed1 Sept 2017
  • creditUnknown

Introduced: 1 Sep 2017

CVE-2017-14107  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade nih-at/libzip to version 1.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.

References

CVSS Scores

version 3.1