Insecure Randomness Affecting net.lingala.zip4j:zip4j package, versions [,2.6.3)


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 Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-NETLINGALAZIP4J-1011359
  • published7 Oct 2020
  • disclosed21 Sept 2020
  • creditgstanchev

Introduced: 21 Sep 2020

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

How to fix?

Upgrade net.lingala.zip4j:zip4j to version 2.6.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 Insecure Randomness. Both StandardEncrypter and AES encrypter uses j.l.Random to generate randomness for encryption operations instead of SecureRandom.

CVSS Scores

version 3.1