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.0Fix
pip install --upgrade 'python-keystoneclient>=0.7.0'References
- http://rhn.redhat.com/errata/RHSA-2014-0382.html[ADVISORY]
- https://bugs.launchpad.net/python-keystoneclient/+bug/1282865[WEB]
- http://www.openwall.com/lists/oss-security/2014/03/27/4[WEB]
- http://rhn.redhat.com/errata/RHSA-2014-0409.html[ADVISORY]
- https://github.com/advisories/GHSA-gwvq-rgqf-993f[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/python-keystoneclient"]}'