VDB
Sign up
MEDIUM5.8

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.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/apache/trafficcontrol
Introduced in: 0Fixed in: 5.0.0
Fixgo get github.com/apache/trafficcontrol@v5.0.0

References

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"]}'