Berkmann18/SaCoin

An educational JS blockchain aimed at being usable in productions.

Vulnerabilities

1 via 1 paths

Dependencies

57

Source

GitHub

Commit

1b87d8cc

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity

Insecure Randomness

  • Vulnerable module: crypto-js
  • Introduced through: merkletreejs@0.2.24

Detailed paths

  • Introduced through: sacoin@Berkmann18/SaCoin#1b87d8cc21381d6a67eba52f345470cb2d4e8783 merkletreejs@0.2.24 crypto-js@3.3.0

Overview

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.

Remediation

Upgrade crypto-js to version 4.0.0, 3.2.1 or higher.

References