Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. keystone
  4. ›
  5. CVE-2020-12689

CVE-2020-12689: OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context

May 24, 2022 (updated September 27, 2024)

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.

References

  • bugs.launchpad.net/keystone/+bug/1872735
  • github.com/advisories/GHSA-chgw-36xv-47cw
  • github.com/openstack/keystone
  • github.com/openstack/keystone/commit/37e9907a176dad6843819b1bec4946c3aecc4548
  • github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-53.yaml
  • lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2020-12689
  • security.openstack.org/ossa/OSSA-2020-004.html
  • usn.ubuntu.com/4480-1
  • www.openwall.com/lists/oss-security/2020/05/06/5

Code Behaviors & Features

Detect and mitigate CVE-2020-12689 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 15.0.1, all versions starting from 16.0.0 before 16.0.1, version 16.0.0

Fixed versions

  • 15.0.1
  • 16.0.1

Solution

Upgrade to versions 15.0.1, 16.0.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

pypi/keystone/CVE-2020-12689.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:12 +0000.