VDB
Sign up
MEDIUM4.0

GHSA-38pp-6gcp-rqvm

Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic

Quick fix

GHSA-38pp-6gcp-rqvm — github.com/cilium/cilium: upgrade to the fixed version with the command below.

go get github.com/cilium/cilium@v1.18.4

Details

### Impact

`CiliumNetworkPolicy`s which use `egress.toGroups.aws.securityGroupsIds` to reference AWS security group IDs that do not exist or are not attached to any network interface may unintentionally allow broader outbound access than intended by the policy authors. In such cases, the toCIDRset section of the derived policy is not generated, which means outbound traffic may be permitted to more destinations than originally intended.

### Patches

This issue has been patched in:

* Cilium v1.18.4 * Cilium v1.17.10 * Cilium v1.16.17

### This issue affects:

- Cilium v1.18 between v1.18.0 and v1.18.3 inclusive - Cilium v1.17 between v1.17.0 and v1.17.9 inclusive - Cilium v1.16.16 and below

### Workarounds

There is no workaround to this issue.

### Acknowledgements

The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @SeanEmac for reporting this issue and to @fristonio for the patch.

### For more information

If you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/cilium/cilium
Introduced in: 1.18.0Fixed in: 1.18.4
Fixgo get github.com/cilium/cilium@v1.18.4
Go/github.com/cilium/cilium
Introduced in: 1.17.0Fixed in: 1.17.10
Fixgo get github.com/cilium/cilium@v1.17.10
Go/github.com/cilium/cilium
Introduced in: 0Fixed in: 1.16.17
Fixgo get github.com/cilium/cilium@v1.16.17

References