CVE Vulnerabilities

CVE-2021-38155

Improper Restriction of Excessive Authentication Attempts

Published: Aug 06, 2021 | Modified: Jan 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
LOW

OpenStack Keystone 10.x through 16.x before 16.0.2, 17.x before 17.0.1, 18.x before 18.0.1, and 19.x before 19.0.1 allows information disclosure during account locking (related to PCI DSS features). By guessing the name of an account and failing to authenticate multiple times, any unauthenticated actor could both confirm the account exists and obtain that accounts corresponding UUID, which might be leveraged for other unrelated attacks. All deployments enabling security_compliance.lockout_failure_attempts are affected.

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
Keystone Openstack 10.0.0 (including) 16.0.2 (excluding)
Keystone Openstack 17.0.0 (including) 17.0.1 (excluding)
Keystone Openstack 18.0.0 (including) 18.0.1 (excluding)
Keystone Openstack 19.0.0 (including) 19.0.1 (excluding)
Keystone Ubuntu bionic *
Keystone Ubuntu hirsute *
Keystone Ubuntu impish *
Keystone Ubuntu kinetic *
Keystone Ubuntu lunar *
Keystone Ubuntu mantic *
Keystone Ubuntu trusty *
Keystone Ubuntu xenial *

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