MEDIUM5.4
PYSEC-2020-56
Quick fix
PYSEC-2020-56 — 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 EC2 API doesn't have a signature TTL check for AWS Signature V4. An attacker can sniff the Authorization header, and then use it to reissue an OpenStack token an unlimited number of times.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.openwall.com/lists/oss-security/2020/05/06/4[WEB]
- https://bugs.launchpad.net/keystone/+bug/1872737[WEB]
- http://www.openwall.com/lists/oss-security/2020/05/07/1[WEB]
- https://security.openstack.org/ossa/OSSA-2020-003.html[WEB]
- https://usn.ubuntu.com/4480-1/[WEB]
- https://github.com/advisories/GHSA-rqw2-hhrf-7936[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"]}'