MEDIUM4.0
PYSEC-2012-20
Quick fix
PYSEC-2012-20 — keystone: upgrade to the fixed version with the command below.
pip install --upgrade 'keystone>=38c7e46a640a94da4da89a39a5a1ea9c081f1eb5'Details
OpenStack Keystone, as used in OpenStack Folsom 2012.2, does not properly implement token expiration, which allows remote authenticated users to bypass intended authorization restrictions by creating new tokens through token chaining. NOTE: this issue exists because of a CVE-2012-3426 regression.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/keystone
Introduced in:
0Fixed in: 38c7e46a640a94da4da89a39a5a1ea9c081f1eb5Fix
pip install --upgrade 'keystone>=38c7e46a640a94da4da89a39a5a1ea9c081f1eb5'References
- https://bugs.launchpad.net/keystone/+bug/1079216[WEB]
- http://www.ubuntu.com/usn/USN-1641-1[ADVISORY]
- http://secunia.com/advisories/51436[ADVISORY]
- http://secunia.com/advisories/51423[ADVISORY]
- https://github.com/openstack/keystone/commit/38c7e46a640a94da4da89a39a5a1ea9c081f1eb5[FIX]
- https://github.com/openstack/keystone/commit/f9d4766249a72d8f88d75dcf1575b28dd3496681[FIX]
- http://www.openwall.com/lists/oss-security/2012/11/28/5[FIX]
- http://www.openwall.com/lists/oss-security/2012/11/28/6[FIX]
- http://rhn.redhat.com/errata/RHSA-2012-1557.html[ADVISORY]
- http://www.securityfocus.com/bid/56727[WEB]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80370[WEB]
- https://github.com/advisories/GHSA-w66p-78g4-mr7g[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/keystone"]}'