swissqrbill@1.3.1

Vulnerabilities

1 via 1 paths

Dependencies

112

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity

Insecure Randomness

  • Vulnerable module: crypto-js
  • Introduced through: pdfkit@0.11.0

Detailed paths

  • Introduced through: swissqrbill@1.3.1 pdfkit@0.11.0 crypto-js@3.3.0
    Remediation: Upgrade to swissqrbill@2.3.3.

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