PYSEC-2020-53
Quick fix
PYSEC-2020-53 — keystone: upgrade to the fixed version with the command below.
pip install --upgrade 'keystone>=15.0.1'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.openwall.com/lists/oss-security/2020/05/06/5[WEB]
- https://bugs.launchpad.net/keystone/+bug/1872735[WEB]
- http://www.openwall.com/lists/oss-security/2020/05/07/2[WEB]
- https://security.openstack.org/ossa/OSSA-2020-004.html[WEB]
- https://lists.apache.org/thread.html/re4ffc55cd2f1b55a26e07c83b3c22c3fe4bae6054d000a57fb48d8c2@%3Ccommits.druid.apache.org%3E[WEB]
- https://usn.ubuntu.com/4480-1/[WEB]
- https://github.com/advisories/GHSA-chgw-36xv-47cw[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/keystone"]}'