CVE-2022-4134
Low · 2.8CVSS
2.8
EPSS
0.3%
Published
Mar 6, 2023
CISA due date
—
Cloudanix analysis
An authenticated user could secretly change stored virtual machine images, so machines started from those images might run with unexpected or malicious content.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authorization bypass in OpenStack Glance permits an authenticated user to modify stored images without proper validation, altering image contents that are later used to boot virtual machines.
Why it matters to the business
Organizations running OpenStack may experience integrity failures in launched workloads, leading to potential operational disruptions, compliance issues, and the need for image rebuilds or additional verification steps across large deployments.
How an attack unfolds
An authenticated attacker with Glance access identifies an image, bypasses authorization checks to alter its contents, and then provisions virtual machines from the tampered image, resulting in compromised instances.
How to fix it
Apply the latest OpenStack Glance updates from the distribution vendor as they become available; restrict image modification permissions to trusted service accounts only and enable image signing verification where supported.
How to confirm the fix worked
Review Glance service logs and API audit records for unexpected image update or replace operations; confirm that image checksum or signature validation is enforced on image retrieval and boot operations.
Typical attack path
- Obtain valid credentials for an account with Glance access
- Locate a target image via the Glance API
- Issue a modified image update request that bypasses authorization
- Upload or replace image data with attacker-controlled content
- Trigger VM creation or rebuild using the altered image
How to detect it
Examine OpenStack Glance API logs and Keystone audit logs for image-update or image-replace calls from non-admin accounts; look for changes to image checksums or metadata without corresponding service-account activity.
What your security team should do
- Prioritize patching Glance in all OpenStack environments once fixes are released
- Audit current Glance RBAC policies and reduce image write privileges
- Enable and monitor image integrity checks during VM provisioning
- Review authentication and authorization logs for anomalous image modifications
The record
A flaw was found in openstack-glance. This issue could allow a remote, authenticated attacker to tamper with images, compromising the integrity of virtual machines created using these modified images.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | glance | 0 | No fix |
| Ubuntu:16.04:LTS | glance | 0 | No fix |
| Ubuntu:18.04:LTS | glance | 0 | No fix |
| Ubuntu:20.04:LTS | glance | 0 | No fix |
| Ubuntu:22.04:LTS | glance | 0 | No fix |
| Ubuntu:24.04:LTS | glance | 0 | No fix |
| Ubuntu:24.10 | glance | 0 | No fix |
| Ubuntu:25.04 | glance | 0 | No fix |
| Ubuntu:25.10 | glance | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | glance | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | glance | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | glance | 0 | No fix |
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-2015-5251 OpenStack Image Service (Glance) before 2014.2.4 (juno) and 2015.1.x before 2015.1.2… Also affects glance
- CVE-2014-5356 OpenStack Image Registry and Delivery Service (Glance) before 2013.2.4, 2014.x before… Also affects glance
- CVE-2026-114727 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 passes potentially unsafe content… CWE-829
- CVE-2026-0303 A code execution vulnerability in Palo Alto Networks Checkov by Prisma® Cloud can allow… CWE-829
- CVE-2026-79721 Code execution can occur in versions of the MLflow platform running version 0.0.1 or… CWE-829
- CVE-2026-86504 In JetBrains IntelliJ IDEA before 2026.2.2 missing project-trust confirmation before… CWE-829
- CVE-2026-18252 GitLab has remediated an issue in GitLab EE affecting all versions from 18.9 before… CWE-829