VDB
Sign up
MEDIUM6.0

PYSEC-2014-70

Quick fix

PYSEC-2014-70 — python-keystoneclient: upgrade to the fixed version with the command below.

pip install --upgrade 'python-keystoneclient>=0.7.0'

Details

The auth_token middleware in the OpenStack Python client library for Keystone (aka python-keystoneclient) before 0.7.0 does not properly retrieve user tokens from memcache, which allows remote authenticated users to gain privileges in opportunistic circumstances via a large number of requests, related to an "interaction between eventlet and python-memcached."

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/python-keystoneclient
Introduced in: 0Fixed in: 0.7.0
Fixpip install --upgrade 'python-keystoneclient>=0.7.0'

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