{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2022-07-25T14:05:11.822787Z", "ID": "CVE-2021-23451", "STATE": "PUBLIC", "TITLE": "Insecure Randomness" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "otp-generator", "version": { "version_data": [ { "version_affected": "<", "version_value": "3.0.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Insecure Randomness" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480", "name": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480" }, { "refsource": "MISC", "url": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12", "name": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12" }, { "refsource": "MISC", "url": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70", "name": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "The package otp-generator before 3.0.0 are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack." } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE" } }, "credit": [ { "lang": "eng", "value": "Mateusz Wojciechowski" } ] }