CVE-2016-0738: Swift Denial of Service Vulnerability
HIGHCVE-2016-0738 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Swift libraries in the PyPI ecosystem. The issue involves openstack object storage (swift) allows remote attackers to cause a denial of service. Remediation is available by upgrading affected packages to version 2.3.1, 2.5.1.
CVE-2016-0738 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2016-0738
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.1
pip install swift>=2.5.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-2016-0738, 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.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 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-2016-0738 Affected Swift Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
swift
|
PyPI |
< 2.3.1
|
2.3.1
|
|
swift
|
PyPI |
≥ 2.4.0
< 2.5.1
|
2.5.1
|
References
Frequently Asked Questions
What is CVE-2016-0738?
Which Swift versions are affected?
What version fixes CVE-2016-0738?
Is swift affected?
What is the CVSS score of CVE-2016-0738?
What CWE is associated with CVE-2016-0738?
How can I check PyPI dependencies for CVE-2016-0738?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fxwr-2vxm-cg7p",
"modified" : "2023-02-08T17:59:29Z",
"published" : "2022-05-17T03:29:51Z",
"aliases" : [ "CVE-2016-0738" ],
"summary" : "OpenStack Object Storage (Swift) allows remote attackers to cause a denial of service",
"details" : "OpenStack Object Storage (Swift) before 2.3.1 (Kilo), 2.4.x, and 2.5.x before 2.5.1 (Liberty) do not properly close server connections, which allows remote attackers to cause a denial of service (proxy-server resource consumption) via a series of interrupted requests to a Large Object URL.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.5.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0738"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228001102/http://www.securityfocus.com/bid/81432"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2016-004.html"
}, {
"type" : "WEB",
"url" : "https://rhn.redhat.com/errata/RHSA-2016-0329.html"
}, {
"type" : "WEB",
"url" : "https://rhn.redhat.com/errata/RHSA-2016-0155.html"
}, {
"type" : "WEB",
"url" : "https://rhn.redhat.com/errata/RHSA-2016-0128.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/pipermail/package-announce/2016-February/176713.html"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/swift/blob/master/CHANGELOG"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/swift"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1298905"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/cloud-archive/+bug/1493303"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2016-0738"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0329"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0328"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0155"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0128"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0127"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:0126"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T17:59:29Z",
"nvd_published_at" : "2016-01-29T20:59:00Z"
}
}