CVE-2014-5356
NoneCVSS
—
EPSS
2.1%
Published
Aug 25, 2014
CISA due date
—
Cloudanix analysis
A configuration check was missing in OpenStack's image service, so logged-in users could upload huge files that filled up the disk and stopped the service from working.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The V2 API in Glance fails to enforce the image_size_cap setting, allowing authenticated users to upload images of arbitrary size that consume disk storage without limit.
Why it matters to the business
Storage exhaustion can render the image service unavailable, disrupt virtual machine provisioning and operations across OpenStack deployments, and require manual cleanup or restarts to recover capacity.
How an attack unfolds
An authenticated user obtains API credentials, then uses the Glance V2 API to upload an image file larger than the configured cap; the missing enforcement check allows the upload to complete and persist on disk until storage is depleted.
How to fix it
Upgrade Glance to 2013.2.4, 2014.1.3, Juno-3 or later releases that correctly enforce image_size_cap; additionally restrict V2 API access to trusted accounts and monitor storage quotas.
How to confirm the fix worked
After upgrade, attempt an upload exceeding the configured cap and confirm the request is rejected with an appropriate error; review Glance logs for size-cap enforcement messages and verify disk usage remains bounded.
Typical attack path
- Obtain valid authentication token for an OpenStack tenant
- Issue POST /v2/images request via the Glance V2 API with an oversized image payload
- Repeat uploads to accelerate disk consumption and trigger denial of service
How to detect it
Search Glance API and registry logs for V2 image-create or upload events with unusually large byte counts; correlate with rapid increases in glance image store disk utilization or quota-exhaustion errors.
- POST /v2/images.*Content-Length: [0-9]{10,}
- glance.registry.*image_size_cap bypassed
- disk consumption alert from glance image directory
What your security team should do
- Apply the listed fixed versions to all Glance deployments immediately
- Audit and tighten V2 API permissions to least-privilege accounts
- Implement storage quota alerts and periodic capacity reviews
The record
OpenStack Image Registry and Delivery Service (Glance) before 2013.2.4, 2014.x before 2014.1.3, and Juno before Juno-3, when using the V2 API, does not properly enforce the image_size_cap configuration option, which allows remote authenticated users to cause a denial of service (disk consumption) by uploading a large image.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | glance | 0 | 11.0.0a0 |
| Debian:11 | glance | 0 | 2014.1.3-1 |
| Debian:12 | glance | 0 | 2014.1.3-1 |
| Debian:13 | glance | 0 | 2014.1.3-1 |
| Red Hat:openstack:4::el6 | openstack-glance | 0 | 0:2013.2.4-1.el6ost |
| Red Hat:openstack:4::el6 | openstack-glance-doc | 0 | 0:2013.2.4-1.el6ost |
| Red Hat:openstack:4::el6 | python-glance | 0 | 0:2013.2.4-1.el6ost |
| Red Hat:openstack:5::el6 | openstack-glance | 0 | 0:2014.1.2-5.el6ost |
| Red Hat:openstack:5::el6 | openstack-glance-doc | 0 | 0:2014.1.2-5.el6ost |
| Red Hat:openstack:5::el6 | python-glance | 0 | 0:2014.1.2-5.el6ost |
| Red Hat:openstack:5::el7 | openstack-glance | 0 | 0:2014.1.2-3.el7ost |
| Red Hat:openstack:5::el7 | openstack-glance-doc | 0 | 0:2014.1.2-3.el7ost |
| Red Hat:openstack:5::el7 | python-glance | 0 | 0:2014.1.2-3.el7ost |
| Ubuntu:14.04:LTS | glance | 0 | 1:2014.1.2-0ubuntu1.1 |
Related vulnerabilities
- CVE-2024-32498 An issue was discovered in OpenStack Cinder through 24.0.0, Glance before 28.0.2, and… Also affects glance
- CVE-2022-4134 A flaw was found in openstack-glance. Also affects glance
- CVE-2015-5251 OpenStack Image Service (Glance) before 2014.2.4 (juno) and 2015.1.x before 2015.1.2… Also affects glance
- CVE-2026-81644 DoS vulnerability in the preview service module. CWE-264
- CVE-2026-49315 DoS vulnerability in the input device module. CWE-264
- CVE-2026-49313 Permission control vulnerability in the app lock module. CWE-264
- CVE-2026-49312 Permission control vulnerability in the window module. CWE-264
- CVE-2026-49310 Permission control vulnerability in the event notification module. CWE-264