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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | keystone | 2:17.0.0~rc2-1 | — |
| Debian 13 | keystone | 2:17.0.0~rc2-1 | — |
| Debian 12 | keystone | 2:17.0.0~rc2-1 | — |
| Debian 10 | keystone | 2:14.2.0-0+deb10u1 | DSA-4679-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | keystone | 2:13.0.4-0ubuntu1 | USN-4480-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | keystone | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 16 | python3-keystone +1 | 1:16.0.1-0.20200511063421.40cbb7b.el8ost | RHSA-2020:3105 |
| Red Hat OpenStack 15 | python3-keystone +1 | 1:15.0.1-0.20200512110437.95b2bbe.el8ost | RHSA-2020:3102 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | keystone | < 15.0.1 | 15.0.1 | GHSA-6m8p-x4qw-gh5j |
| PyPI | keystone | >= 16.0.0.0rc1, < 16.0.0 | 16.0.0 | GHSA-6m8p-x4qw-gh5j |
Advisories 4
- RHSA-2020:3102 Red Hat Security Advisory: openstack-keystone security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2020:3105 Red Hat Security Advisory: openstack-keystone security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-4480-1 keystone vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4679-1 keystone - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://security.openstack.org/ossa/OSSA-2020-005.html
- https://bugs.launchpad.net/keystone/+bug/1873290
- https://www.openwall.com/lists/oss-security/2020/05/06/6
- [oss-security] 20200507 Re: [OSSA-2020-005] Keystone: OAuth1 request token authorize silently ignores roles parameter (CVE PENDING) mailing-list
- [druid-commits] 20200520 [GitHub] [druid] ccaominh opened a new pull request #9903: Suppress CVEs for openstack-keystone mailing-list
- USN-4480-1 vendor-advisory
- [druid-commits] 20210712 [druid] branch master updated: Suppress CVE-2021-27568 from json-smart 2.3 dependency (#11438) mailing-list