{ "containers": { "cna": { "affected": [ { "product": "otp-generator", "vendor": "n/a", "versions": [ { "lessThan": "3.0.0", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "credits": [ { "lang": "en", "value": "Mateusz Wojciechowski" } ], "datePublic": "2022-07-25T00:00:00.000Z", "descriptions": [ { "lang": "en", "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." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "description": "Insecure Randomness", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2022-07-25T14:11:12.000Z", "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "shortName": "snyk" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70" } ], "title": "Insecure Randomness", "x_legacyV4Record": { "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" } ] } }, "credit": [ { "lang": "eng", "value": "Mateusz Wojciechowski" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "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": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Insecure Randomness" } ] } ] }, "references": { "reference_data": [ { "name": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480", "refsource": "MISC", "url": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480" }, { "name": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12", "refsource": "MISC", "url": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12" }, { "name": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70", "refsource": "MISC", "url": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70" } ] } } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T19:14:08.558Z" }, "title": "CVE Program Container", "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70" } ] } ] }, "cveMetadata": { "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "assignerShortName": "snyk", "cveId": "CVE-2021-23451", "datePublished": "2022-07-25T14:11:12.623Z", "dateReserved": "2021-01-08T00:00:00.000Z", "dateUpdated": "2024-09-17T03:23:49.759Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }