CVE-2021-23451
CRITICALCVSS 9.8/10EPSS 0.69%
Last modified
CVE-2021-23451 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Otp-Generator Project | Otp-Generator | < 3.0.0 |
References
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480Issue Tracking, Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70Patch, Third Party Advisory
- https://github.com/Maheshkumar-Kakade/otp-generator/issues/12Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23451?
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.
How severe is CVE-2021-23451?
CVE-2021-23451 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.69% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23451?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23446The package handsontable before 10.0.0; the package handsont…7.5
- CVE-2021-23447This affects the package teddy before 0.5.9. A type confusio…6.1
- CVE-2021-23448All versions of package config-handler are vulnerable to Pro…9.8
- CVE-2021-23449This affects the package vm2 before 3.9.4 via a Prototype Po…10
- CVE-2021-2345Vulnerability in the Oracle Commerce Guided Search / Oracle …5.4
- CVE-2021-23450All versions of package dojo are vulnerable to Prototype Pol…9.8
- CVE-2021-23452This affects all versions of package x-assign. The global pr…9.8
- CVE-2021-2346Vulnerability in the Oracle Commerce Guided Search / Oracle …5.4
- CVE-2021-23460The package min-dash before 3.8.1 are vulnerable to Prototyp…7.5
- CVE-2021-23463The package com.h2database:h2 from 1.4.198 and before 2.0.20…9.1
- CVE-2021-2347Vulnerability in the Hyperion Infrastructure Technology prod…5.2
- CVE-2021-23470This affects the package putil-merge before 3.8.0. The merge…9.8
Are you affected by CVE-2021-23451?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
