# OpenStack Keystone allows information disclosure during account locking

Advisory record · `GHSA-4225-97pr-rr52`

- **Identifiers:** `GHSA-4225-97pr-rr52` · `CVE-2021-38155` · `PYSEC-2026-830`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-307](https://cwe.mitre.org/data/definitions/307.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 24 May 2022
- **Updated:** 7 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 May 2022, 19:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `keystone` (PyPI): affected `>=10.0, <16.0.2 || >=17.0, <17.0.1 || >=18.0, <18.0.1 || >=19.0, <19.0.1`; fixed in `16.0.2`, `17.0.1`, `18.0.1`, `19.0.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.025, the 84th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 24 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-4225-97pr-rr52](https://github.com/advisories/GHSA-4225-97pr-rr52)
- [OSV: GHSA-4225-97pr-rr52](https://osv.dev/vulnerability/GHSA-4225-97pr-rr52)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38155>
- <https://github.com/openstack/keystone/commit/1b573ae7d1c20e0ebfbde79bbe7538a09589c75d>
- <https://github.com/openstack/keystone/commit/8ab4eb27be4c13c9bab2b3ea700f00a190521bf8>
- <https://github.com/openstack/keystone/commit/ac2631ae33445877094cdae796fbcdce8833a626>
- <https://github.com/openstack/keystone>
- <https://launchpad.net/bugs/1688137>
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00007.html>
- <https://security.openstack.org/ossa/OSSA-2021-003.html>
- <http://www.openwall.com/lists/oss-security/2021/08/10/5>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4225-97pr-rr52>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4225-97pr-rr52/>. Everything for agents: <https://agentprime.io/llms.txt>.
