VDB
Sign up
MEDIUM4.3

PYSEC-2015-30

Quick fix

PYSEC-2015-30 — keystonemiddleware: upgrade to the fixed version with the command below.

pip install --upgrade 'keystonemiddleware>=1.6.0'

Details

The s3_token middleware in OpenStack keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0 disables certification verification when the "insecure" option is set in a paste configuration (paste.ini) file regardless of the value, which allows remote attackers to conduct man-in-the-middle attacks via a crafted certificate, a different vulnerability than CVE-2014-7144.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/keystonemiddleware
Introduced in: 0Fixed in: 1.6.0
Fixpip install --upgrade 'keystonemiddleware>=1.6.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/keystonemiddleware"]}'