Insecure Randomness Affecting org.webjars.bowergithub.brix:crypto-js package, versions [,4.1.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.11% (46th 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 Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSBOWERGITHUBBRIX-548473
  • published11 Feb 2020
  • disclosed11 Feb 2020
  • creditUnknown

Introduced: 11 Feb 2020

CVE-2020-36732  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade org.webjars.bowergithub.brix:crypto-js to version 4.1.1 or higher.

Overview

org.webjars.bowergithub.brix:crypto-js is a library of crypto standards.

Affected versions of this package are vulnerable to Insecure Randomness. The secureRandom() method is supposed to return a cryptographically strong pseudo-random data string, but it is biased to certain digits. An attacker could be able to guess the created digits.

CVSS Scores

version 3.1