GHSA-pw59-4qgf-jxr8
Cache Manipulation Attack in Apache Traffic Control
Quick fix
GHSA-pw59-4qgf-jxr8 — github.com/apache/trafficcontrol: upgrade to the fixed version with the command below.
go get github.com/apache/trafficcontrol@v5.0.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 5.0.0go get github.com/apache/trafficcontrol@v5.0.0References
- https://nvd.nist.gov/vuln/detail/CVE-2020-17522[ADVISORY]
- https://github.com/apache/trafficcontrol/commit/492290d810e9608afb5d265b98cd3f3e153e776b[WEB]
- https://github.com/apache/trafficcontrol[PACKAGE]
- https://lists.apache.org/thread.html/r3c675031ac220b5eae64a9c84a03ee60045c6045738607dca4a96cb8@%3Ccommits.trafficcontrol.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r3de212a3da73bcf98fa2db7eafb75b2eb8e131ff466e6efc4284df09%40%3Cdev.trafficcontrol.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/rc8bfd7d4f71d61e9193efcd4699eccbab3c202ec1d75ed9d502f08bf@%3Ccommits.trafficcontrol.apache.org%3E[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/apache/trafficcontrol"]}'