CWE-307Weakness · CWE-307

CVE-2025-42615

HIGH · 8.1 CVSS v4.0 Published 2025-12-08
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
85/100
Remediation priority · High
Remotely reachable

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 · unedited
In 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 confidence

vulnerability-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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify the installed version of vulnerability-lookup
    Run the command to display the software version (e.g., vulnerability-lookup --version, or check the package manager), or inspect the application metadata/banner
    Affected if The version is below 2.18.0 (for example, 2.17.x, 2.16.x, or earlier)
  2. Determine whether 2FA is enabled for any user accounts
    Query the user database or user management interface to list accounts with two-factor authentication enabled, or inspect the authentication configuration
    Affected if 2FA is enabled and the software version is below 2.18.0
  3. Verify if rate-limiting exists for failed OTP submissions
    Inspect 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 failures
    Affected if No rate-limiting configuration is found for failed OTP attempts and the version is below 2.18.0
  4. Check if account lockout is enforced after multiple failed OTP attempts
    Inspect the authentication security settings or user account policies for lockout thresholds after failed 2FA attempts
    Affected if No account lockout mechanism is triggered after failed OTP submissions and the version is below 2.18.0
  5. Confirm whether failed 2FA attempts generate logs or admin alerts
    Review the logging configuration and security event monitoring settings for events related to failed OTP or 2FA verification failures
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

2.18.0

  1. 1. Ensure you have a backup of your current vulnerability-lookup installation and database.
  2. 2. Upgrade vulnerability-lookup to version 2.18.0 or later.
  3. 3. After upgrade, verify the application is functioning correctly.
  4. 4. Review the admin user list to confirm failed 2FA attempts are now visible.
  5. 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.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation10.0 h
  • Testing5.0 h
  • Review / QA3.0 h
21.0 hours of engineering $3,690
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-42615 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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