CVE-2021-38155 json
OpenStack Keystone allows information disclosure during account locking
published 2021-08-06 5 y ago modified 2026-07-07 4 mo ago also GHSA-4225-97pr-rr52 , PYSEC-2026-830 , EUVD-2022-2263
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi keystone 16.0.2, 17.0.1, 18.0.1, 19.0.1
- openstack keystone 16.0.2, 17.0.1, 18.0.1, 19.0.1
- keystone Debian 14, Debian 13, Debian 12 2:19.0.0-3
debian advisories DEBIAN-CVE-2021-38155
- grafana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 6.7.4-3.26.1
- python-lxml OpenStack Cloud Crowbar 9, OpenStack Cloud 9 4.2.4-3.3.1
- python-Pillow OpenStack Cloud Crowbar 9, OpenStack Cloud 9 5.2.0-3.17.1
- ardana-barbican OpenStack Cloud 9 9.0+git.1644879908.8a641c1-3.13.1
- rubygem-sinatra OpenStack Cloud Crowbar 9 1.4.6-4.3.1
- openstack-cinder OpenStack Cloud Crowbar 9, OpenStack Cloud 9 13.0.10~dev24-3.34.2
- openstack-ironic OpenStack Cloud Crowbar 9, OpenStack Cloud 9 11.1.5~dev18-3.28.2
- openstack-neutron OpenStack Cloud Crowbar 9, OpenStack Cloud 9 13.0.8~dev206-3.40.1
suse advisories SUSE-SU-2022:1729-1SUSE-SU-2022:1654-1
Exploit prediction
2.48% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- launchpad.net https://launchpad.net/bugs/1688137 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| 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 |
Classification
- Weakness
-
- CWE-307 Improper Restriction of Excessive Authentication Attempts
References
-
launchpad.net
/bugs/1688137
web, exploit, issue-tracking, patch, third-party-advisory
-
security.openstack.org
/ossa/OSSA-2021-003.html
web, patch, vendor-advisory
-
openwall.com
/lists/oss-security/2021/08/10/5
mailing-list, web, patch, third-party-advisory
-
github.com
/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d
web
-
github.com
/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8
web
-
github.com
/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626
web
-
lists.debian.org
/debian-lts-announce/2024/01/msg00007.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-38155
advisory
-
github.com
/openstack/keystone
package
-
pypi.org
/project/keystone
package
-
github.com
/advisories/GHSA-4225-97pr-rr52
advisory
Sources
- CVE List CVE-2021-38155
- GitHub Advisory GHSA-4225-97pr-rr52
- NVD CVE-2021-38155
- OSV PYSEC-2026-830
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.