MEDIUM5.8
PYSEC-2026-814
OpenStack Glance Server-Side Request Forgery (SSRF)
Quick fix
PYSEC-2026-814 — glance: upgrade to the fixed version with the command below.
pip install --upgrade 'glance>=11.0.0a0'Details
An SSRF issue was discovered in OpenStack Glance before Newton. The 'copy_from' feature in the Image Service API v1 allowed an attacker to perform masked network port scans. With v1, it is possible to create images with a URL such as 'http://localhost:22'. This could then allow an attacker to enumerate internal network details while appearing masked, since the scan would appear to originate from the Glance Image service.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-7200[ADVISORY]
- https://github.com/openstack/glance/commit/b1ac90f7914d91b25144cc4063fa994fb5019ee3[WEB]
- https://bugs.launchpad.net/ossn/+bug/1153614[WEB]
- https://bugs.launchpad.net/ossn/+bug/1606495[WEB]
- https://github.com/openstack/glance[PACKAGE]
- https://wiki.openstack.org/wiki/OSSN/OSSN-0078[WEB]
- http://www.securityfocus.com/bid/96988[WEB]
- https://pypi.org/project/glance[PACKAGE]
- https://github.com/advisories/GHSA-j6mr-cm6x-h6jg[ADVISORY]