From 44ec217eedaff2c65f134ce1a27398e38fa09d21 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:47:44 +0000 Subject: [PATCH] Add CVE-2022-39218 for GHSA-cmr8-5w4c-44v8 Add CVE-2022-39218 for GHSA-cmr8-5w4c-44v8 --- 2022/39xxx/CVE-2022-39218.json | 77 +++++++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 6 deletions(-) diff --git a/2022/39xxx/CVE-2022-39218.json b/2022/39xxx/CVE-2022-39218.json index 9b8566daf11..98e59326975 100644 --- a/2022/39xxx/CVE-2022-39218.json +++ b/2022/39xxx/CVE-2022-39218.json @@ -1,18 +1,83 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39218", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Random number seed fixed during compilation" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "js-compute-runtime", + "version": { + "version_data": [ + { + "version_value": "< 0.5.3" + } + ] + } + } + ] + }, + "vendor_name": "fastly" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "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." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "NETWORK", + "availabilityImpact": "NONE", + "baseScore": 7.5, + "baseSeverity": "HIGH", + "confidentialityImpact": "HIGH", + "integrityImpact": "NONE", + "privilegesRequired": "NONE", + "scope": "UNCHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-cmr8-5w4c-44v8", + "refsource": "CONFIRM", + "url": "https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-cmr8-5w4c-44v8" + } + ] + }, + "source": { + "advisory": "GHSA-cmr8-5w4c-44v8", + "discovery": "UNKNOWN" } } \ No newline at end of file