CVE-2013-4179: Nova Denial of Service Vulnerability
MODERATECVE-2013-4179 is a MODERATE denial of service vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack compute (nova) vulnerable to denial of service via xml entity expansion attack. Remediation is available by upgrading affected packages to version 2013.2.
CVE-2013-4179 at a Glance
How to Fix CVE-2013-4179
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>=2013.2
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-2013-4179, 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 2013.2), 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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-2013-4179 Affected Nova Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nova
|
PyPI |
< 2013.2
|
2013.2
|
References
Frequently Asked Questions
What is CVE-2013-4179?
Which Nova versions are affected?
What version fixes CVE-2013-4179?
Is nova affected?
What CWE is associated with CVE-2013-4179?
How can I check PyPI dependencies for CVE-2013-4179?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j6xh-q826-55jw",
"modified" : "2023-02-08T21:31:21Z",
"published" : "2022-05-17T04:58:58Z",
"aliases" : [ "CVE-2013-4179" ],
"summary" : "OpenStack Compute (Nova) vulnerable to denial of service via XML Entity Expansion attack",
"details" : "The security group extension in OpenStack Compute (Nova) Grizzly 2013.1.3, Havana before havana-3, and earlier allows remote attackers to cause a denial of service (resource consumption and crash) via an XML Entity Expansion (XEE) attack. NOTE: this issue is due to an incomplete fix for CVE-2013-1664.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2013.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2013.1.3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4179"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2013:1199"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2013-4179"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/ossa/+bug/1190229"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=989707"
}, {
"type" : "PACKAGE",
"url" : "https://opendev.org/openstack/nova"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1199.html"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2005-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T21:31:21Z",
"nvd_published_at" : "2013-09-16T19:14:00Z"
}
}