Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. keystone
  4. ›
  5. CVE-2021-38155

CVE-2021-38155: OpenStack Keystone allows information disclosure during account locking

May 24, 2022 (updated May 14, 2024)

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 account’s corresponding UUID, which might be leveraged for other unrelated attacks. All deployments enabling security_compliance.lockout_failure_attempts are affected.

References

  • github.com/advisories/GHSA-4225-97pr-rr52
  • github.com/openstack/keystone
  • github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d
  • github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8
  • github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626
  • launchpad.net/bugs/1688137
  • lists.debian.org/debian-lts-announce/2024/01/msg00007.html
  • nvd.nist.gov/vuln/detail/CVE-2021-38155
  • security.openstack.org/ossa/OSSA-2021-003.html

Code Behaviors & Features

Detect and mitigate CVE-2021-38155 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 10.0 before 16.0.2, all versions starting from 17.0 before 17.0.1, all versions starting from 18.0 before 18.0.1, all versions starting from 19.0 before 19.0.1

Fixed versions

  • 16.0.2
  • 17.0.1
  • 18.0.1
  • 19.0.1

Solution

Upgrade to versions 16.0.2, 17.0.1, 18.0.1, 19.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-307: Improper Restriction of Excessive Authentication Attempts

Source file

pypi/keystone/CVE-2021-38155.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.