CVE-2021-23451

critical

Description

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.

References

https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480

https://github.com/Maheshkumar-Kakade/otp-generator/issues/12

https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70

Details

Source: Mitre, NVD

Published: 2022-07-25

Updated: 2022-08-01

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical