VDB
Sign up
HIGH8.8

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

PyPI/keystone
Introduced in: 0Fixed in: 15.0.1
Fixpip install --upgrade 'keystone>=15.0.1'

References

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"]}'