# CVE-2012-3361: OpenStack Nova Arbitrary file injection/corruption through directory traversal issues

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v2.0, NVD) `AV:N/AC:L/Au:S/C:N/I:P/A:P`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Authentication: Single; Confidentiality impact: None; Integrity impact: Partial; Availability impact: Partial
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.62% (percentile 86, 2026-11-26)
- **CWE:** CWE-264
- **Aliases:** GHSA-cm54-3vvf-f5p8, PYSEC-2012-39
- **Published:** 2012-07-22T16:00:00.000Z
- **Modified:** 2026-06-16T23:43:04.480Z

## Who should check

- Projects that depend on PyPI package nova (\< 12.0.0a0)
- Anyone running n/a (versions: see the vendor advisory)

## Description

virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) allows remote authenticated users to overwrite arbitrary files via a symlink attack on a file in an image.

## Affected and fixed versions

- PyPI `nova`: affected \< 12.0.0a0; fixed 12.0.0a0 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade nova to 12.0.0a0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2012-3361. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2012-3361.md
Affected: nova < 12.0.0a0
Fixed in: 12.0.0a0

Steps:
1. Search this machine and project for nova (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2012-3361 being exploited?

There is no confirmed exploitation: CVE-2012-3361 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.62% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2012-3361?

Medium: CVSS 5.5 (v2.0, scored by NVD). Remote, login needed.

### Which versions are affected by CVE-2012-3361?

nova \< 12.0.0a0.

### Is there a fix for CVE-2012-3361?

Yes. Fixed in 12.0.0a0. Upgrade nova to 12.0.0a0 or later.

### How do I check if I'm affected by CVE-2012-3361?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://secunia.com/advisories/49763>
- vendor: <http://secunia.com/advisories/49802>
- vendor: <http://lists.fedoraproject.org/pipermail/package-announce/2012-July/083969.html>
- vendor: <http://lists.fedoraproject.org/pipermail/package-announce/2012-July/083984.html>
- vendor: <http://www.ubuntu.com/usn/USN-1497-1>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2012-3361>
- vendor: <https://github.com/advisories/GHSA-cm54-3vvf-f5p8>
- patch: <https://github.com/openstack/nova/commit/2427d4a99bed35baefd8f17ba422cb7aae8dcca7>
- patch: <https://github.com/openstack/nova/commit/b0feaffdb2b1c51182b8dce41b367f3449af5dd9>
- other: <https://review.openstack.org/#/c/9268/>
- other: <http://www.securityfocus.com/bid/54278>
- other: <https://bugs.launchpad.net/nova/+bug/1015531>
- other: <https://lists.launchpad.net/openstack/msg14089.html>
- other: <https://github.com/openstack/nova>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-39.yaml>
- other: <https://review.openstack.org/#/c/9268>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2012-3361>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cm54-3vvf-f5p8> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2012-39> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2012-3361> · JSON: <https://flawdb.com/api/v1/entries/CVE-2012-3361>
