CVE-2011-4596: Nova Path Traversal Vulnerability
MODERATECVE-2011-4596 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova multiple directory traversal vulnerabilities. Remediation is available by upgrading affected packages to version 12.0.0a0.
CVE-2011-4596 at a Glance
How to Fix CVE-2011-4596
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-2011-4596, 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 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. 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-2011-4596 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-2011-4596?
Which Nova versions are affected?
What version fixes CVE-2011-4596?
Is nova affected?
What CWE is associated with CVE-2011-4596?
How can I check PyPI dependencies for CVE-2011-4596?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qr62-r9xc-r2gj",
"modified" : "2024-05-14T21:13:50Z",
"published" : "2022-05-14T01:58:50Z",
"aliases" : [ "CVE-2011-4596" ],
"summary" : "OpenStack Nova Multiple directory traversal vulnerabilities",
"details" : "Multiple directory traversal vulnerabilities in OpenStack Nova before 2011.3.1, when the EC2 API and the S3/RegisterImage image-registration method are enabled, allow remote authenticated users to overwrite arbitrary files via a crafted (1) tarball or (2) manifest.",
"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-2011-4596"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/76363226bd8533256f7795bba358d7f4b8a6c9e6"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/ad3241929ea00569c74505ed002208ce360c667e"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/nova/+bug/885167"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/nova/+bug/894755"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/nova"
}, {
"type" : "WEB",
"url" : "https://lists.launchpad.net/openstack/msg06105.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:13:50Z",
"nvd_published_at" : "2011-12-23T22:55:00Z"
}
}