CVE-2013-4155: Swift Denial of Service Vulnerability
MODERATECVE-2013-4155 is a MODERATE denial of service vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Swift libraries in the PyPI ecosystem. The issue involves openstack swift allows authenticated users to cause a denial of service. Remediation is available by upgrading affected packages to version 1.9.1.
CVE-2013-4155 at a Glance
How to Fix CVE-2013-4155
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>=1.9.1
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-2013-4155, 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 1.9.1), 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-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 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-2013-4155 Affected Swift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
swift
|
PyPI |
< 1.9.1
|
1.9.1
|
References
Frequently Asked Questions
What is CVE-2013-4155?
Which Swift versions are affected?
What version fixes CVE-2013-4155?
Is swift affected?
What CWE is associated with CVE-2013-4155?
How can I check PyPI dependencies for CVE-2013-4155?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wxx2-gqvv-34hx",
"modified" : "2024-05-14T21:30:35Z",
"published" : "2022-05-17T04:58:58Z",
"aliases" : [ "CVE-2013-4155" ],
"summary" : "OpenStack Swift allows authenticated users to cause a denial of service",
"details" : "OpenStack Swift before 1.9.1 in Folsom, Grizzly, and Havana allows authenticated users to cause a denial of service (\"superfluous\" tombstone consumption and Swift cluster slowdown) via a DELETE request with a timestamp that is older than expected.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4155"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/swift/commit/1f4ec235cdfd8c868f2d6458532f9dc32c00b8ca"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/swift/commit/6b9806e0e8cbec60c0a3ece0bd516e0502827515"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/swift/+bug/1196932"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/swift"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/40643"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/40645"
}, {
"type" : "WEB",
"url" : "https://review.openstack.org/#/c/40646"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1197.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2012/dsa-2737"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/08/07/6"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-2001-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:30:35Z",
"nvd_published_at" : "2013-08-20T22:55:00Z"
}
}