Advisory

GHSA-4427-7f3w-mqv6

Also known as: CVE-2020-12691, PYSEC-2020-55

Summary

OpenStack Keystone V3 /credentials endpoint policy logic allows to change credentials owner or target project ID

Details

An issue was discovered in OpenStack Keystone before 15.0.1, and 16.0.0. Any authenticated user can create an EC2 credential for themselves for a project that they have a specified role on, and then perform an update to the credential user and project, allowing them to masquerade as another user. 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 18:05 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