GHSA-7f2c-vp52-gmfw — keystonemiddleware
MEDIUMGHSA-7f2c-vp52-gmfw is a medium-severity (CVSS 5.9) CWE-310 vulnerability in keystonemiddleware. A fix is available for keystonemiddleware — see the affected versions and patch details below.
OpenStack keystonemiddleware does not verify certificate
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-7f2c-vp52-gmfw by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 379,842 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
keystonemiddleware🐍keystonemiddleware🐍python-keystoneclient🐍python-keystoneclientReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
OpenStack keystonemiddleware (formerly python-keystoneclient) 0.x before 0.11.0 and 1.x before 1.2.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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | keystonemiddleware | all versions | 0.11.0pip install --upgrade 'keystonemiddleware==0.11.0' |
| 🐍PyPI | keystonemiddleware | ≥ 1.0&&< 1.2.0 | 1.2.0pip install --upgrade 'keystonemiddleware==1.2.0' |
| 🐍PyPI | python-keystoneclient | all versions | 0.11.0pip install --upgrade 'python-keystoneclient==0.11.0' |
| 🐍PyPI | python-keystoneclient | ≥ 1.0&&< 1.2.0 | 1.2.0pip install --upgrade 'python-keystoneclient==1.2.0' |
Affected Products
keystonemiddlewareopenstackpython-keystoneclientopenstackDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for keystonemiddleware, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update keystonemiddleware to 0.11.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7f2c-vp52-gmfw is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| OpenStack 4 for RHEL 6 | python-keystoneclient-1:0.7.1-5.el6ost | RHSA-2015:0020 |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 | python-keystoneclient-1:0.9.0-5.el6ost | RHSA-2014:1783 |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 | python-keystoneclient-1:0.9.0-5.el7ost | RHSA-2014:1784 |
Frequently Asked Questions
Is GHSA-7f2c-vp52-gmfw in your dependencies?
Find it across PyPI, including transitive dependencies.