PyPA Advisory Database
PYSEC-2020-55
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | keystone | All versions before 15.0.1 (fixed in 15.0.1) |
References
- https://www.openwall.com/lists/oss-security/2020/05/06/5
- https://bugs.launchpad.net/keystone/+bug/1872733
- http://www.openwall.com/lists/oss-security/2020/05/07/2
- https://security.openstack.org/ossa/OSSA-2020-004.html
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E
- https://usn.ubuntu.com/4480-1/
- https://github.com/advisories/GHSA-4427-7f3w-mqv6