VDB
Sign up
HIGH7.5

PYSEC-2016-20

Quick fix

PYSEC-2016-20 — keystonemiddleware: upgrade to the fixed version with the command below.

pip install --upgrade 'keystonemiddleware>=1.5.4'

Details

The identity service in OpenStack Identity (Keystone) before 2015.1.3 (Kilo) and 8.0.x before 8.0.2 (Liberty) and keystonemiddleware (formerly python-keystoneclient) before 1.5.4 (Kilo) and Liberty before 2.3.3 does not properly invalidate authorization tokens when using the PKI or PKIZ token providers, which allows remote authenticated users to bypass intended access restrictions and gain access to cloud resources by manipulating byte fields within a revoked token.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/keystonemiddleware
Introduced in: 0Fixed in: 1.5.4
Fixpip install --upgrade 'keystonemiddleware>=1.5.4'

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