Insecure Randomness Affecting net.lingala.zip4j:zip4j Open this link in a new tab package, versions [,2.6.3)


0.0
medium
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Confidentiality

    High

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-id

    SNYK-JAVA-NETLINGALAZIP4J-1011359

  • published

    7 Oct 2020

  • disclosed

    21 Sep 2020

  • credit

    gstanchev

Introduced: 21 Sep 2020

CWE-330 Open this link 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.