CVE-2012-3361: Nova Path Traversal Vulnerability
MODERATECVE-2012-3361 is a MODERATE path traversal vulnerability (General Security Weakness) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova arbitrary file injection/corruption through directory traversal issues. Remediation is available by upgrading affected packages to version 12.0.0a0.
CVE-2012-3361 at a Glance
How to Fix CVE-2012-3361
To remediate this vulnerability, upgrade all affected Nova dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install nova>=12.0.0a0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show nova
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2012-3361, inspect your installed packages using pip:
pip show nova
Analyze the terminal output to locate any version of Nova in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.0.0a0), your application is affected.
Note: The pip show nova command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Nova, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-3361 Affected Nova Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nova
|
PyPI |
< 12.0.0a0
|
12.0.0a0
|
References
Frequently Asked Questions
What is CVE-2012-3361?
Which Nova versions are affected?
What version fixes CVE-2012-3361?
Is nova affected?
What CWE is associated with CVE-2012-3361?
How can I check PyPI dependencies for CVE-2012-3361?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cm54-3vvf-f5p8",
"modified" : "2024-11-22T18:10:20Z",
"published" : "2022-05-17T05:25:39Z",
"aliases" : [ "CVE-2012-3361" ],
"summary" : "OpenStack Nova Arbitrary file injection/corruption through directory traversal issues",
"details" : "`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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.0.0a0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3361"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/2427d4a99bed35baefd8f17ba422cb7aae8dcca7"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/b0feaffdb2b1c51182b8dce41b367f3449af5dd9"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/nova/+bug/1015531"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/nova"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-39.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.launchpad.net/openstack/msg14089.html"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/9268"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1497-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:27:17Z",
"nvd_published_at" : "2012-07-22T16:55:00Z"
}
}