SCA: security update for crypto-js (GHSA-rg76-677x-56q9)

critical Tenable Self-Hosted Container Security Plugin ID 498217

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- crypto-js is a JavaScript library of crypto standards. Versions of crypto-js prior to 4.0.0 generate
randomness in CryptoJS.lib.WordArray.random() using a custom variation of the Multiply-With-Carry
pseudorandom number generator, seeded from Math.random(), instead of a cryptographically secure source.
This generator was introduced in version 3.1.2-4 and remained present in nearly every 3.x release. Nominal
requests for 128 or 256 bits of entropy through this function produce effective search spaces of
approximately 2 to the 39th and 2 to the 47th possibilities, small enough to enumerate on commodity
hardware. Downstream wallet applications that used CryptoJS.lib.WordArray.random() as the entropy source
for BIP39 recovery phrases are affected, and an attacker who enumerates the reduced output space can
recover the resulting private keys and control the associated funds. This issue is fixed in version 4.0.0.
(CVE-2026-71851)

Solution

Update the crypto-js library and its related packages to version 4.0.0 or later.

See Also

https://github.com/advisories/GHSA-rg76-677x-56q9

Plugin Details

Severity: Critical

ID: 498217

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.22

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-71851

CVSS v3

Risk Factor: Critical

Base Score: 9

Temporal Score: 7.8

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/7/2026

Vulnerability Publication Date: 8/7/2026

Reference Information

CVE: CVE-2026-71851