NULL Pointer Dereference Affecting net.lingala.zip4j:zip4j package, versions [,2.7.0)


Severity

Recommended
0.0
medium
0
10

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

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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-NETLINGALAZIP4J-1074967
  • published15 Feb 2021
  • disclosed15 Feb 2021
  • creditMartin D'Aloia

Introduced: 15 Feb 2021

CVE NOT AVAILABLE CWE-476  (opens in a new tab)

How to fix?

Upgrade net.lingala.zip4j:zip4j to version 2.7.0 or higher.

Overview

net.lingala.zip4j:zip4j is an open source java library to handle zip files.

Affected versions of this package are vulnerable to NULL Pointer Dereference. A ZipFile can be constructed with a null File reference, leading to a null pointer exception on this line when an operation is carried.

CVSS Scores

version 3.1