OpenStack Keystone allows information disclosure during account locking
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | keystone | >= 10.0, < 16.0.2, >= 17.0, < 17.0.1, >= 18.0, < 18.0.1, >= 19.0, < 19.0.1 | 16.0.2, 17.0.1, 18.0.1, 19.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-38155
- https://github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d
- https://github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8
- https://github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626
- https://github.com/openstack/keystone
- https://launchpad.net/bugs/1688137
- https://lists.debian.org/debian-lts-announce/2024/01/msg00007.html
- https://security.openstack.org/ossa/OSSA-2021-003.html
- http://www.openwall.com/lists/oss-security/2021/08/10/5
- https://pypi.org/project/keystone
- https://github.com/advisories/GHSA-4225-97pr-rr52
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-307- Platform
- Python (PyPI)
- Package
keystone- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-830 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4225-97pr-rr52 - CC BY 4.0
Vulnerability history: keystone
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 42
- First → latest
- 09.2012 05.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 18
- Medium 21
- Low 1
- Unrated 1
Disclosures per year
- 2017: 0
- 2018: 2
- 2019: 1
- 2020: 4
- 2021: 0
- 2022: 14
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 7
earlier: 13
-
OpenStack Keystone allows information disclosure during account locking this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.