CVE Vulnerabilities

CVE-2025-6004

Improper Restriction of Excessive Authentication Attempts

Published: Aug 01, 2025 | Modified: Aug 13, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu

Vault and Vault Enterprise’s (“Vault”) user lockout feature could be bypassed for Userpass and LDAP authentication methods. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.

Weakness

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.

Affected Software

Name Vendor Start Version End Version
Vault Hashicorp 1.13.0 (including) 1.16.23 (excluding)
Vault Hashicorp 1.13.0 (including) 1.20.1 (excluding)
Vault Hashicorp 1.17.0 (including) 1.18.12 (excluding)
Vault Hashicorp 1.19.0 (including) 1.19.7 (excluding)
Vault Hashicorp 1.20.0 (including) 1.20.0 (including)

Potential Mitigations

  • Common protection mechanisms include:

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

  • Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

References