The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2020-36732 - Medium Severity Vulnerability
Vulnerable Library - crypto-js-3.1.9-1.tgz
JavaScript library of crypto standards.
Library home page: https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.9-1.tgz
Dependency Hierarchy: - compodoc-1.1.10.tgz (Root Library) - pdfmake-0.1.65.tgz - pdfkit-0.11.0.tgz - :x: **crypto-js-3.1.9-1.tgz** (Vulnerable Library)
Found in HEAD commit: 36a9c5d28529109984de6fcc3d0a157d561dac4a
Found in base branch: master
Vulnerability Details
The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.
Publish Date: 2023-06-12
URL: CVE-2020-36732
CVSS 3 Score Details (5.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2023-06-12
Fix Resolution (crypto-js): 3.2.1
Direct dependency fix Resolution (@compodoc/compodoc): 1.1.11