CVE-2015-5240: Neutron OpenStack Neutron Race Condition Vulnerability Vulnerability
LOWCVE-2015-5240 is a LOW openstack neutron race condition vulnerability vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Neutron libraries in the PyPI ecosystem. The issue involves openstack neutron race condition vulnerability. Remediation is available by upgrading affected packages to version 7.0.0.
CVE-2015-5240 at a Glance
How to Fix CVE-2015-5240
To remediate this vulnerability, upgrade all affected Neutron 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 neutron>=7.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show neutron
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-5240, inspect your installed packages using pip:
pip show neutron
Analyze the terminal output to locate any version of Neutron in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.0), your application is affected.
Note: The pip show neutron command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Neutron, 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-2015-5240 Affected Neutron Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neutron
|
PyPI |
< 7.0.0
|
7.0.0
|
References
Frequently Asked Questions
What is CVE-2015-5240?
Which Neutron versions are affected?
What version fixes CVE-2015-5240?
Is neutron affected?
What CWE is associated with CVE-2015-5240?
How can I check PyPI dependencies for CVE-2015-5240?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hhpj-6pj7-wpx5",
"modified" : "2024-05-14T20:58:26Z",
"published" : "2022-05-17T03:52:44Z",
"aliases" : [ "CVE-2015-5240" ],
"summary" : "OpenStack Neutron Race condition vulnerability",
"details" : "Race condition in OpenStack Neutron before 2014.2.4 and 2015.1 before 2015.1.2, when using the ML2 plugin or the security groups AMQP API, allows remote authenticated users to bypass IP anti-spoofing controls by changing the device owner of a port to start with network: before the security group rules are applied.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "neutron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5240"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/neutron/commit/767cea23de44a963c6793ffe30ea5c6827d27a38"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/neutron/commit/bbca973986fdc99eae9d1b2545e8246c0b2be2e2"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/neutron/commit/fdc3431ccd219accf6a795079d9b67b8656eed8e"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2015:1909"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2015-5240"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/neutron/+bug/1489111"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1258458"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/neutron"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2015-018.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1909.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/09/08/9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T20:58:26Z",
"nvd_published_at" : "2015-10-27T16:59:00Z"
}
}