Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-39218: The JS Compute Runtime for Fastly's Compute@Edge platform provides the environment JavaScript is executed in w

46
This month
HIGH 7.5REMOTEUPGRADE

CVE-2022-39218 is a high-severity flaw (CVSS 7.5) affecting js-compute. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 WebAsse

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-335
Published2022-09-20
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: fastly

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fastly js-compute UPGRADE
Affected: < 0.5.3
Fixed in: 0.5.3
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls js-compute
2. UPGRADE to 0.5.3
npm install js-compute@">=0.5.3"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-39218?

js-compute: upgrade to 0.5.3. Exact commands for each OS are on this page.

Is CVE-2022-39218 being exploited?

CVE-2022-39218 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-39218 affect?

CVE-2022-39218 affects js-compute. Severity is high (CVSS 7.5). 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

How urgent is CVE-2022-39218?

Priority 46/100. High severity; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.