CVE-2020-12690 Insufficient Session Expiration in OpenStack Keystone
OpenStack Keystone ignores OAuth1 role restrictions, granting tokens all creator roles and enabling unintended privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12690?
CVE-2020-12690 is a high-severity vulnerability in n/a, published on 6 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. The list of roles provided for an OAuth1 access token is silently ignored. Thus, when an access token is used to request a keystone token, the keystone token contains every role assignment the creator had for the project. This results in the provided keystone token having more role assignments than the creator intended, possibly giving unintended escalated access.
Weakness: CWE-613
Which versions are affected by CVE-2020-12690?
5 open source packages ship an affected version, including keystone. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
keystone PyPI | All versions | 15.0.1 |
keystone PyPI | All versions | 15.0.1 |
keystone PyPI | All versions | 15.0.1 |
keystone PyPI | From 16.0.0.0rc1 | 16.0.0 |
keystone PyPI | From 16.0.0.0rc1 | 16.0.0 |
Products include Openstack Keystone.
How do I fix CVE-2020-12690?
Upgrade keystone to a fixed version for your release line: 15.0.1 or 16.0.0.
Is CVE-2020-12690 being exploited?
There is no known exploitation of CVE-2020-12690 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2019-19687 OpenStack Keystone Credential Leakage
- CVE-2026-43001 OpenStack Keystone has an Incorrect Authorization Issue
- CVE-2014-2828 OpenStack Identity (Keystone) DoS through V3 API authentication chaining
- CVE-2021-38155 OpenStack Keystone allows information disclosure during account locking
- CVE-2015-7546 OpenStack Identity Keystone and keystonemiddleware Insufficiently Protected Credentials
Sources
Also known as DEBIAN-CVE-2020-12690, GHSA-6m8p-x4qw-gh5j, PYSEC-2020-54, UBUNTU-CVE-2020-12690.