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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.41%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-06T00:00:00.000Z
- Modified: 2026-07-07T11:56:21.033Z
- Also known as: GHSA-4225-97pr-rr52, PYSEC-2026-830
- Weaknesses: CWE-307
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- keystone (PyPI): from 10.0 before 16.0.2; from 17.0 before 17.0.1; from 18.0 before 18.0.1; from 19.0 before 19.0.1
- openstack keystone: from 10.0.0 before 16.0.2; from 17.0.0 before 17.0.1; from 18.0.0 before 18.0.1; from 19.0.0 before 19.0.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://launchpad.net/bugs/1688137> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://security.openstack.org/ossa/OSSA-2021-003.html> (patch, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/08/10/5> (mailing-list, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00007.html> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38155> (advisory)
- <https://github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d> (web)
- <https://github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8> (web)
- <https://github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626> (web)
- <https://github.com/openstack/keystone> (package)
- <https://pypi.org/project/keystone> (package)
- <https://github.com/advisories/GHSA-4225-97pr-rr52> (advisory)

## Sources

- CVE List: [CVE-2021-38155](https://www.cve.org/CVERecord?id=CVE-2021-38155), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4225-97pr-rr52](https://github.com/advisories/GHSA-4225-97pr-rr52), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2021-38155](https://nvd.nist.gov/vuln/detail/CVE-2021-38155), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-830](https://osv.dev/vulnerability/PYSEC-2026-830), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2021-38155 · Whole record: https://cve.day/CVE-2021-38155.json · Rebuilt by cve.day 2026-11-25T22:58:03.047Z
