SCA: security update for @fastly/js-compute (GHSA-cmr8-5w4c-44v8)

high Tenable Cloud Security Plugin ID 413979

Description

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

- The JS Compute Runtime for Fastly's Compute@Edge platform provides the environment JavaScript is executed
in when using the Compute@Edge JavaScript SDK. In versions prior to 0.5.3, the `Math.random` and
`crypto.getRandomValues` methods fail to use sufficiently random values. The initial value to seed the
PRNG (pseudorandom number generator) is baked-in to the final WebAssembly module, making the sequence of
random values for that specific WebAssembly module predictable. An attacker can use the fixed seed to
predict random numbers generated by these functions and bypass cryptographic security controls, for
example to disclose sensitive data encrypted by functions that use these generators. The problem has been
patched in version 0.5.3. No known workarounds exist. (CVE-2022-39218)

See Also

https://github.com/advisories/GHSA-cmr8-5w4c-44v8

Plugin Details

Severity: High

ID: 413979

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-39218

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/20/2022

Vulnerability Publication Date: 9/20/2022

Reference Information

CVE: CVE-2022-39218