CVE-2025-42615
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn affected versions, vulnerability-lookup did not track or limit failed One-Time Password (OTP) attempts during Two-Factor Authentication (2FA) verification. An attacker who already knew or guessed a valid username and password could submit an arbitrary number of OTP codes without causing the account to be locked or generating any specific alert for administrators. This lack of rate-limiting and lockout on OTP failures significantly lowers the cost of online brute-force attacks against 2FA codes and increases the risk of successful account takeover, especially if OTP entropy is reduced (e.g. short numeric codes, user reuse, or predictable tokens). Additionally, administrators had no direct visibility into accounts experiencing repeated 2FA failures, making targeted attacks harder to detect and investigate. The patch introduces a persistent failed_otp_attempts counter on user accounts, locks the user after 5 invalid OTP submissions, resets the counter on successful verification, and surfaces failed 2FA attempts in the admin user list. This enforces an account lockout policy for OTP brute-force attempts and improves monitoring capabilities for suspicious 2FA activity.This issue affects Vulnerability-Lookup: before 2.18.0.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencevulnerability-lookup before 2.18.0 lacks rate-limiting on failed OTP submissions during 2FA verification. Attackers with valid credentials can brute-force OTP codes indefinitely without triggering account lockout or generating admin alerts, enabling low-cost attacks against 2FA-protected accounts.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- Authentication
- X
- User interaction
- A
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed version of vulnerability-lookupRun the command to display the software version (e.g., vulnerability-lookup --version, or check the package manager), or inspect the application metadata/bannerAffected if The version is below 2.18.0 (for example, 2.17.x, 2.16.x, or earlier)
-
Determine whether 2FA is enabled for any user accountsQuery the user database or user management interface to list accounts with two-factor authentication enabled, or inspect the authentication configurationAffected if 2FA is enabled and the software version is below 2.18.0
-
Verify if rate-limiting exists for failed OTP submissionsInspect the application's configuration files or settings related to authentication, 2FA, or OTP verification. Look for parameters such as max_attempts, rate_limit, or throttle on OTP failuresAffected if No rate-limiting configuration is found for failed OTP attempts and the version is below 2.18.0
-
Check if account lockout is enforced after multiple failed OTP attemptsInspect the authentication security settings or user account policies for lockout thresholds after failed 2FA attemptsAffected if No account lockout mechanism is triggered after failed OTP submissions and the version is below 2.18.0
-
Confirm whether failed 2FA attempts generate logs or admin alertsReview the logging configuration and security event monitoring settings for events related to failed OTP or 2FA verification failuresAffected if Failed OTP attempts are not logged or do not generate administrative alerts, and the version is below 2.18.0
You are affected if vulnerability-lookup is installed at a version prior to 2.18.0 and 2FA is enabled, because the lack of rate-limiting allows unlimited OTP brute-force attempts without account lockout or admin visibility.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to version 2.18.0 or later, which implements a failed_otp_attempts counter, account lockout after 5 invalid OTP submissions, and admin visibility into failed 2FA attempts.
2.18.0
- 1. Ensure you have a backup of your current vulnerability-lookup installation and database.
- 2. Upgrade vulnerability-lookup to version 2.18.0 or later.
- 3. After upgrade, verify the application is functioning correctly.
- 4. Review the admin user list to confirm failed 2FA attempts are now visible.
- 5. Test the new OTP lockout functionality by entering 5 incorrect OTP codes to confirm account locking works as expected.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation10.0 h
- Testing5.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,904.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-42615 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-42615 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data