VDB
Sign up
HIGH8.8

PYSEC-2020-54

Quick fix

PYSEC-2020-54 — 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. The list of roles provided for an OAuth1 access token is silently ignored. Thus, when an access token is used to request a keystone token, the keystone token contains every role assignment the creator had for the project. This results in the provided keystone token having more role assignments than the creator intended, possibly giving unintended escalated access.

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