Insufficient Verification of Data Authenticity Affecting net.lingala.zip4j:zip4j package, versions [0,2.11.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.14% (51st 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-JAVA-NETLINGALAZIP4J-3227608
  • published10 Jan 2023
  • disclosed10 Jan 2023
  • creditUnknown

Introduced: 10 Jan 2023

CVE-2023-22899  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade net.lingala.zip4j:zip4j to version 2.11.3 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 Insufficient Verification of Data Authenticity in that it does not always check the MAC when decrypting a ZIP archive. This allows attackers with knowledge of the filenames in use on the affected system, and write access to those files, to modify the contents of the archives without the changes being detected.

CVSS Scores

version 3.1