CVE-2020-6173: Tuf Denial of Service Vulnerability
MODERATECVE-2020-6173 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Tuf libraries in the PyPI ecosystem. The issue involves client denial of service on tuf. Remediation is available by upgrading affected packages to version 0.12.2.
CVE-2020-6173 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2020-6173
To remediate this vulnerability, upgrade all affected Tuf 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 tuf>=0.12.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show tuf
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-6173, inspect your installed packages using pip:
pip show tuf
Analyze the terminal output to locate any version of Tuf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.2), your application is affected.
Note: The pip show tuf command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Tuf, 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-2020-6173 Affected Tuf Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tuf
|
PyPI |
≥ 0.7.2
< 0.12.2
|
0.12.2
|
References
Frequently Asked Questions
What is CVE-2020-6173?
Which Tuf versions are affected?
What version fixes CVE-2020-6173?
Is tuf affected?
What is the CVSS score of CVE-2020-6173?
What CWE is associated with CVE-2020-6173?
How can I check PyPI dependencies for CVE-2020-6173?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2828-9vh6-9m6j",
"modified" : "2024-11-18T22:40:00Z",
"published" : "2020-08-21T16:25:48Z",
"aliases" : [ "CVE-2020-6173" ],
"summary" : "Client Denial of Service on TUF",
"details" : "### Impact\nAn attacker who can gain file access to the repository and modify metadata files may cause a denial of service to clients by creating many invalid signatures on a metadata file. Having a large number of signatures to verify will delay the moment when the client will determine the signature is not valid. This delay may be for at least a few minutes, but possibly could be longer especially if multiple files are impacted.\n\nThe tuf maintainers would like to thank Erik MacLean of Analog Devices, Inc. for reporting this issue.\n\n### Patches\nNo fix exists for this issue. \n\n### Workarounds\nNo workarounds are known for this issue.\n\n### References\n* [CVE-2020-6173](https://nvd.nist.gov/vuln/detail/CVE-2020-6173)\n* [Issue #973](https://github.com/theupdateframework/tuf/issues/973)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "tuf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.7.2"
}, {
"fixed" : "0.12.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/theupdateframework/tuf/security/advisories/GHSA-2828-9vh6-9m6j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-6173"
}, {
"type" : "WEB",
"url" : "https://github.com/theupdateframework/tuf/issues/973"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-146.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/theupdateframework/tuf"
}, {
"type" : "WEB",
"url" : "https://github.com/theupdateframework/tuf/commits/develop"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-21T16:19:09Z",
"nvd_published_at" : null
}
}