GHSA-cmr8-5w4c-44v8 · Severity: high · Ecosystem: npm — Fastly Compute@Edge JS Runtime has fixed random number seed during compilation
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.
Conclusion & alert: CVE-2022-39218 is rated Moderate Risk (41.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.14%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-01-18 | 0.30% | 0.14% | -0.16% |
| 2 | 2025-09-22 | 0.11% | 0.30% | +0.19% |
| 3 | 2025-03-17 | — | 0.11% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-cmr8-5w4c-44v8 · Severity: high · Ecosystem: npm — Fastly Compute@Edge JS Runtime has fixed random number seed during compilation
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| fastly | js-compute | < 0.5.3 | cpe:2.3:a:fastly:js-compute:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-cmr8-5w4c-44v8 | Third Party Advisory |