CVE-2015-5223: Swift OpenStack Object Storage (Swift) Sensitive Vulnerability
MODERATECVE-2015-5223 is a MODERATE openstack object storage (swift) sensitive vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Swift libraries in the PyPI ecosystem. The issue involves openstack object storage (swift) sensitive data exposure. Remediation is available by upgrading affected packages to version 2.4.0.
CVE-2015-5223 at a Glance
How to Fix CVE-2015-5223
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.4.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-5223, 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.4.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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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-5223 Affected Swift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
swift
|
PyPI |
< 2.4.0
|
2.4.0
|
References
Frequently Asked Questions
What is CVE-2015-5223?
Which Swift versions are affected?
What version fixes CVE-2015-5223?
Is swift affected?
What CWE is associated with CVE-2015-5223?
How can I check PyPI dependencies for CVE-2015-5223?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q45h-chc8-hvp6",
"modified" : "2023-08-01T21:18:59Z",
"published" : "2022-05-14T03:59:06Z",
"aliases" : [ "CVE-2015-5223" ],
"summary" : "OpenStack Object Storage (Swift) Sensitive Data Exposure",
"details" : "OpenStack Object Storage (Swift) before 2.4.0 allows attackers to obtain sensitive information via a PUT tempurl and a DLO object manifest that references an object in another container.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5223"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/swift/+bug/1449212"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/swift/+bug/1453948"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/swift"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2015-016.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200804233308/http://www.securityfocus.com/bid/84827"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2015-10/msg00025.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1895.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-0329.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/08/26/5"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-01T21:18:59Z",
"nvd_published_at" : "2015-10-26T17:59:00Z"
}
}