CVE-2020-17522: Github.com/apache/trafficcontrol Cache Manipulation Attack Vulnerability
MODERATECVE-2020-17522 is a MODERATE (CVSS 5.8) cache manipulation attack vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Github.com/apache/trafficcontrol libraries in the Go ecosystem. The issue involves cache manipulation attack in apache traffic control. Remediation is available by upgrading affected packages to version 5.0.0.
CVE-2020-17522 at a Glance
Security Impact
CVSS: 5.8
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:C/C:N/I:L/A:N).
How to Fix CVE-2020-17522
To remediate this vulnerability, upgrade all affected Github.com/apache/trafficcontrol dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/apache/trafficcontrol to 5.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/apache/trafficcontrol
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-17522, inspect your project dependencies for Github.com/apache/trafficcontrol:
inspect dependencies for github.com/apache/trafficcontrol
Analyze the terminal output to locate any version of Github.com/apache/trafficcontrol in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Github.com/apache/trafficcontrol, 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-17522 Affected Github.com/apache/trafficcontrol Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/apache/trafficcontrol
|
Go |
< 5.0.0
|
5.0.0
|
References
Frequently Asked Questions
What is CVE-2020-17522?
Which Github.com/apache/trafficcontrol versions are affected?
What version fixes CVE-2020-17522?
Is github.com/apache/trafficcontrol affected?
What is the CVSS score of CVE-2020-17522?
What CWE is associated with CVE-2020-17522?
How can I check Go dependencies for CVE-2020-17522?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pw59-4qgf-jxr8",
"modified" : "2022-04-04T21:27:42Z",
"published" : "2021-06-18T22:04:32Z",
"aliases" : [ "CVE-2020-17522" ],
"summary" : "Cache Manipulation Attack in Apache Traffic Control",
"details" : "When ORT (now via atstccfg) generates ip_allow.config files in Apache Traffic Control 3.0.0 to 3.1.0 and 4.0.0 to 4.1.0, those files include permissions that allow bad actors to push arbitrary content into and remove arbitrary content from CDN cache servers. Additionally, these permissions are potentially extended to IP addresses outside the desired range, resulting in them being granted to clients possibly outside the CDN arcitechture.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/apache/trafficcontrol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-17522"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/trafficcontrol/commit/492290d810e9608afb5d265b98cd3f3e153e776b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/trafficcontrol"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3c675031ac220b5eae64a9c84a03ee60045c6045738607dca4a96cb8@%3Ccommits.trafficcontrol.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3de212a3da73bcf98fa2db7eafb75b2eb8e131ff466e6efc4284df09%40%3Cdev.trafficcontrol.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rc8bfd7d4f71d61e9193efcd4699eccbab3c202ec1d75ed9d502f08bf@%3Ccommits.trafficcontrol.apache.org%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-525", "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-04T21:27:42Z",
"nvd_published_at" : "2021-01-26T18:15:00Z"
}
}