CVE-2020-12690 Insufficient Session Expiration in OpenStack Keystone

High 8.8 Published Updated

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.

PackageAffectedFixed in
keystone PyPIAll versions15.0.1
keystone PyPIAll versions15.0.1
keystone PyPIAll versions15.0.1
keystone PyPIFrom 16.0.0.0rc116.0.0
keystone PyPIFrom 16.0.0.0rc116.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.

Sources

Also known as DEBIAN-CVE-2020-12690, GHSA-6m8p-x4qw-gh5j, PYSEC-2020-54, UBUNTU-CVE-2020-12690.

Is CVE-2020-12690 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free