Home / Openstack / Keystone / CVE-2021-38155
CVE-2021-38155: is it exploited, and which versions of Openstack Keystone are affected and fixed?
CVE-2021-38155 is a no limit on login attempts (brute force) vulnerability in Openstack Keystone. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: keystone from 10.0 before 16.0.2, keystone from 17.0 before 17.0.1, keystone from 18.0 before 18.0.1 and 1 more (GitHub advisory GHSA-4225-97pr-rr52). Fixed in 16.0.2, 17.0.1, 18.0.1 and 19.0.1 (GitHub advisory GHSA-4225-97pr-rr52). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-38155?
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.
From the CVE record by mitre, last updated August 4, 2024, 01:37 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | keystone | >= 10.0, < 16.0.2 | 16.0.2 | GHSA-4225-97pr-rr52 |
| PyPI | keystone | >= 17.0, < 17.0.1 | 17.0.1 | GHSA-4225-97pr-rr52 |
| PyPI | keystone | >= 18.0, < 18.0.1 | 18.0.1 | GHSA-4225-97pr-rr52 |
| PyPI | keystone | >= 19.0, < 19.0.1 | 19.0.1 | GHSA-4225-97pr-rr52 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 14, 2024. Summary: OpenStack Keystone allows information disclosure during account locking.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openstack | keystone | from 10.0.0 before 16.0.2 | application |
| openstack | keystone | from 17.0.0 before 17.0.1 | application |
| openstack | keystone | from 18.0.0 before 18.0.1 | application |
| openstack | keystone | from 19.0.0 before 19.0.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:01 UTC.
How severe is CVE-2021-38155?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-38155 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.46% probability of exploitation activity in the next 30 days, percentile 84.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-307 Improper Restriction of Excessive Authentication Attempts
Where are the vendor advisories and references?
- https://launchpad.net/bugs/1688137
- https://security.openstack.org/ossa/OSSA-2021-003.html
- [oss-security] 20210810 [OSSA-2021-003] Keystone: Account name and UUID oracles in account locking (CVE-2021-38155) mailing-list
- [debian-lts-announce] 20240121 [SECURITY] [DLA 3714-1] keystone security update mailing-list
When was it published, and where is the official record?
- Reserved
- August 6, 2021
- Published
- August 6, 2021, 00:00 UTC
- CVE record updated
- August 4, 2024, 01:37 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:01 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Keystone?
- Sep 11, 2026CVE-2026-90460 OpenStack Keystone: incorrect authorization
- Aug 26, 2026CVE-2026-80183 OpenStack Keystone: type confusion
- Aug 25, 2026CVE-2026-80184 OpenStack Keystone: incorrect authorization
- Aug 25, 2026CVE-2026-80182 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-44394 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-43000 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-42999 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-42998 OpenStack Keystone: incorrect authorization
Questions about CVE-2021-38155
Is CVE-2021-38155 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 2.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Openstack Keystone are affected by CVE-2021-38155?
keystone from 10.0 before 16.0.2, keystone from 17.0 before 17.0.1, keystone from 18.0 before 18.0.1 and keystone from 19.0 before 19.0.1, per the GitHub advisory GHSA-4225-97pr-rr52. The tables above give every range the sources list.
Which version fixes CVE-2021-38155?
16.0.2, 17.0.1, 18.0.1 and 19.0.1, per the GitHub advisory GHSA-4225-97pr-rr52. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-38155?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-38155?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.