CVE-2015-1856: Swift OpenStack Swift Unauthorized Delete Of Vulnerability
MODERATECVE-2015-1856 is a MODERATE openstack swift unauthorized delete of vulnerability (General Security Weakness) affecting Swift libraries in the PyPI ecosystem. The issue involves openstack swift unauthorized delete of versioned swift object. Remediation is available by upgrading affected packages to version 2.3.0.
CVE-2015-1856 at a Glance
How to Fix CVE-2015-1856
To remediate this vulnerability, upgrade all affected Swift 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 swift>=2.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show swift
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-1856, inspect your installed packages using pip:
pip show swift
Analyze the terminal output to locate any version of Swift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0), your application is affected.
Note: The pip show swift 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 Swift, 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-1856 Affected Swift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
swift
|
PyPI |
< 2.3.0
|
2.3.0
|
References
Frequently Asked Questions
What is CVE-2015-1856?
Which Swift versions are affected?
What version fixes CVE-2015-1856?
Is swift affected?
What CWE is associated with CVE-2015-1856?
How can I check PyPI dependencies for CVE-2015-1856?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cc77-5vw4-7pwg",
"modified" : "2024-05-14T21:30:46Z",
"published" : "2022-05-14T03:59:19Z",
"aliases" : [ "CVE-2015-1856" ],
"summary" : "OpenStack Swift Unauthorized delete of versioned Swift object",
"details" : "OpenStack Object Storage (Swift) before 2.3.0, when allow_version is configured, allows remote authenticated users to delete the latest version of an object by leveraging listing access to the x-versions-location container.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-1856"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/swift/+bug/1430645"
}, {
"type" : "WEB",
"url" : "https://git.openstack.org/cgit/openstack/swift/commit/?id=5bb7c286ebb4a54e4d2bd5a02845644d1c651183"
}, {
"type" : "WEB",
"url" : "https://git.openstack.org/cgit/openstack/swift/commit/?id=85afe9316570855c87ea731d0627f6f8f2b73264"
}, {
"type" : "WEB",
"url" : "https://git.openstack.org/cgit/openstack/swift/commit/?id=dd9d97458ea007024220a78dba8dd663e8b425d7"
}, {
"type" : "WEB",
"url" : "https://git.openstack.org/cgit/openstack/swift/commit/?id=f6525758ab2456d688430699338993439597a789"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/swift"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163113.html"
}, {
"type" : "WEB",
"url" : "http://lists.openstack.org/pipermail/openstack-announce/2015-April/000349.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2015-10/msg00025.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1681.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1684.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1845.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1846.html"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/74182"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2704-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:30:46Z",
"nvd_published_at" : "2015-04-17T17:59:00Z"
}
}