CVE-2021-38155
OpenStack Keystone allows information disclosure during account locking
Reported by mitre · Published August 6, 2021
keystone is fixed in 19.0.1, 18.0.1, 17.0.1 and 1 more (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| keystone | PyPI | 19.0.1, 18.0.1, 17.0.1, 16.0.2 |
| keystone | openstack | 19.0.1, 18.0.1, 17.0.1, 16.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | keystone | 10.0, 17.0, 18.0 |
Timeline
- Aug 6, 2021 CVE Published
- Aug 7, 2021 EPSS Score (30 in total, the first dated here)
- May 19, 2024 CVE Updated
- Mar 9, 2026 Security Advisory
- Jul 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-38155
vulnetix vdb fixes CVE-2021-38155
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-38155/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [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
- https://nvd.nist.gov/vuln/detail/CVE-2021-38155 advisory
- https://github.com/advisories/GHSA-4225-97pr-rr52 advisory
- https://github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d patch
- https://github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8 patch
- https://github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626 patch
- https://github.com/openstack/keystone url