Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-39218— Random number seed fixed during compilation

Quick assessment

Affected
fastly js-compute-runtime
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

js-compute-runtime是Fastly开源的一种 Fastly Compute@Edge 的 JavaScript 运行时。 js-compute-runtime 0.4.0 到 0.5.3版本存在安全漏洞,该漏洞源于Math.random和crypto.getRandomValues方法未能使用足够的随机值。

CVSS 7.5 · High EPSS 0.92% · P59

Possible ATT&CK Techniques 1 AI

T1552.004 · Private Keys
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39218

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Random number seed fixed during compilation
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
PRNG种子错误
Source: CVE Program / CVE List V5
Vulnerability Title
js-compute-runtime 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
js-compute-runtime是Fastly开源的一种 Fastly Compute@Edge 的 JavaScript 运行时。 js-compute-runtime 0.4.0 到 0.5.3版本存在安全漏洞,该漏洞源于Math.random和crypto.getRandomValues方法未能使用足够的随机值。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
fastly js-compute-runtime < 0.5.3 -

II. Public POCs for CVE-2022-39218

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39218

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-39218 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39218

No comments yet


Leave a comment