VDB
Sign up
MEDIUM5.5

GHSA-9394-xfq9-6qrp

Calico vulnerable to pod route hijacking

Quick fix

GHSA-9394-xfq9-6qrp — github.com/projectcalico/calico: upgrade to the fixed version with the command below.

go get github.com/projectcalico/calico@v3.22.2

Details

Clusters using Calico (version 3.22.1 and below), Calico Enterprise (version 3.12.0 and below), may be vulnerable to route hijacking with the floating IP feature. Due to insufficient validation, a privileged attacker may be able to set a floating IP annotation to a pod even if the feature is not enabled. This may allow the attacker to intercept and reroute traffic to their compromised pod.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/projectcalico/calico
Introduced in: 3.22.0Fixed in: 3.22.2
Fixgo get github.com/projectcalico/calico@v3.22.2
Go/github.com/projectcalico/calico
Introduced in: 3.21.0Fixed in: 3.21.5
Fixgo get github.com/projectcalico/calico@v3.21.5
Go/github.com/projectcalico/calico
Introduced in: 0Fixed in: 3.20.5
Fixgo get github.com/projectcalico/calico@v3.20.5

References