Insufficient Session Expiration in OpenStack Keystone
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | keystone | < 15.0.1, >= 16.0.0.0rc1, < 16.0.0 | 15.0.1, 16.0.0 |
References
- https://bugs.launchpad.net/keystone/+bug/1873290
- https://www.openwall.com/lists/oss-security/2020/05/06/6
- http://www.openwall.com/lists/oss-security/2020/05/07/3
- https://security.openstack.org/ossa/OSSA-2020-005.html
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E
- https://usn.ubuntu.com/4480-1/
- https://github.com/advisories/GHSA-6m8p-x4qw-gh5j
- https://nvd.nist.gov/vuln/detail/CVE-2020-12690
- https://github.com/openstack/keystone
- https://github.com/pypa/advisory-database/tree/main/vulns/keystone/PYSEC-2020-54.yaml
- https://usn.ubuntu.com/4480-1
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-613- Platform
- Python (PyPI)
- Package
keystone- Disclosed
- 07.05.2020
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2020-54 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6m8p-x4qw-gh5j - CC BY 4.0
Vulnerability history: keystone
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 42
- First → latest
- 09.2012 05.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 18
- Medium 21
- Low 1
- Unrated 1
Disclosures per year
- 2017: 0
- 2018: 2
- 2019: 1
- 2020: 4
- 2021: 0
- 2022: 14
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 7
earlier: 13
-
Insufficient Session Expiration in OpenStack Keystone this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.