CVE-2021-38155Openstack Keystone
High 7.5 No auth needed
Follow: this CVE · Openstack · Openstack Keystone We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Aug 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-307
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Keystone.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | keystone |
≥ 10.0 < 16.0.2 |
16.0.2 |
pip install "keystone>=16.0.2" |
| PyPI | keystone |
≥ 17.0 < 17.0.1 |
17.0.1 |
pip install "keystone>=17.0.1" |
| PyPI | keystone |
≥ 18.0 < 18.0.1 |
18.0.1 |
pip install "keystone>=18.0.1" |
| PyPI | keystone |
≥ 19.0 < 19.0.1 |
19.0.1 |
pip install "keystone>=19.0.1" |
| PyPI | keystone |
≥ 10.0 < 16.0.2 |
16.0.2 |
pip install "keystone>=16.0.2" |
| PyPI | keystone |
≥ 17.0 < 17.0.1 |
17.0.1 |
pip install "keystone>=17.0.1" |
| PyPI | keystone |
≥ 18.0 < 18.0.1 |
18.0.1 |
pip install "keystone>=18.0.1" |
| PyPI | keystone |
≥ 19.0 < 19.0.1 |
19.0.1 |
pip install "keystone>=19.0.1" |
Per OSV / GitHub Advisories (GHSA-4225-97pr-rr52, PYSEC-2026-830). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openstack | keystone | ≥ 10.0.0 < 16.0.2 |
| openstack | keystone | ≥ 17.0.0 < 17.0.1 |
| openstack | keystone | ≥ 18.0.0 < 18.0.1 |
| openstack | keystone | ≥ 19.0.0 < 19.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- launchpad.net Exploit Issue Tracking Patch
- lists.debian.org
- security.openstack.org Patch Vendor Advisory