Advisory

GHSA-chgw-36xv-47cw

Also known as: CVE-2020-12689, PYSEC-2020-53

Summary

OpenStack Keystone EC2 and/or credential endpoints are not protected from a scoped context

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:17 UTC
Modified
2024-09-27 21:33 UTC

Affected packages and fixes

keystone

PyPI · All systems

Affected

  • introduced 0, fixed 15.0.1 (ecosystem)

Fixed versions

15.0.1

Fix

  • Fixed version 15.0.1
    pip install --upgrade keystone==15.0.1

keystone

PyPI · All systems

Affected

  • introduced 16.0.0, fixed 16.0.1 (ecosystem)

Fixed versions

16.0.1

Fix

  • Fixed version 16.0.1
    pip install --upgrade keystone==16.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences