Description
The Python client library for Glance (python-glanceclient) before 0.10.0 does not properly check the preverify_ok value, which prevents the server hostname from being verified with a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate and allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-glanceclient | 1:0.9.0-2 | — |
| Debian 13 | python-glanceclient | 1:0.9.0-2 | — |
| Debian 12 | python-glanceclient | 1:0.9.0-2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 3 | python-glanceclient | 1:0.9.0-2.el6ost | RHSA-2013:1200 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-glanceclient | < 0.10.0 | 0.10.0 | GHSA-qgfg-gvff-523v |
Advisories 1
- RHSA-2013:1200 Red Hat Security Advisory: python-glanceclient security update Red Hat Security Advisories (RHSA) · Aug 1, 2026
References
- 54525 third-party-advisory
- 54313 third-party-advisory
- USN-2004-1 vendor-advisory
- RHSA-2013:1200 vendor-advisory
- https://bugs.launchpad.net/ossa/+bug/1192229
- openSUSE-SU-2013:1330 vendor-advisory
- https://github.com/openstack/python-glanceclient/blob/master/doc/source/index.rst