Description
Directory traversal vulnerability in virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2) and Essex (2012.1), when used over libvirt-based hypervisors, allows remote authenticated users to write arbitrary files to the disk image via a .. (dot dot) in the path attribute of a file element.
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 | nova | 2012.1.1-2 | — |
| Debian 13 | nova | 2012.1.1-2 | — |
| Debian 12 | nova | 2012.1.1-2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | nova | < 12.0.0a0 | 12.0.0a0 | GHSA-m454-cm7h-rqhh |
References
- 54277 vdb-entry
- 49763 third-party-advisory
- https://bugs.launchpad.net/nova/+bug/1015531
- 49802 third-party-advisory
- [openstack] 20120603 [OSSA 2012-008] Arbitrary file injection/corruption through directory traversal issues (CVE-2012-3360, CVE-2012-3361) mailing-list
- FEDORA-2012-10420 vendor-advisory
- https://github.com/openstack/nova/commit/2427d4a99bed35baefd8f17ba422cb7aae8dcca7
- https://github.com/openstack/nova/commit/b0feaffdb2b1c51182b8dce41b367f3449af5dd9
- USN-1497-1 vendor-advisory