Description
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Users of IPsec transparent encryption in Cilium may be vulnerable to cryptographic attacks that render the transparent encryption ineffective. In particular, Cilium is vulnerable to chosen plaintext, key recovery, replay attacks by a man-in-the-middle attacker. These attacks are possible due to an ESP sequence number collision when multiple nodes are configured with the same key. Fixed versions of Cilium use unique keys for each IPsec tunnel established between nodes, resolving all of the above attacks. This vulnerability is fixed in 1.13.13, 1.14.9, and 1.15.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cilium | cilium | >= 1.4.0, <= 1.13.14, >= 1.14.0, < 1.14.9, >= 1.15.0, < 1.15.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | hubble-ui | 0.13.0-r6 | — |
| Wolfi rolling | hubble-ui-backend | 0.13.3-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/cilium/cilium | >= 1.4.0, < 1.13.14 | 1.13.14 | GHSA-pwqm-x5x6-5586 |
| Go | github.com/cilium/cilium | >= 1.14.0, < 1.14.9 | 1.14.9 | GHSA-pwqm-x5x6-5586 |
| Go | github.com/cilium/cilium | >= 1.15.0, < 1.15.3 | 1.15.3 | GHSA-pwqm-x5x6-5586 |
| Go | github.com/cilium/cilium | < 1.13.14 · >= 1.14.0, < 1.14.9 · >= 1.15.0, < 1.15.3 | 1.13.14, 1.14.9, 1.15.3 | GO-2024-2666 |
References
- https://github.com/cilium/cilium/security/advisories/GHSA-pwqm-x5x6-5586
- https://github.com/cilium/cilium/commit/311fbce5280491cddceab178d83b06fa23688c72
- https://github.com/cilium/cilium/commit/a1742b478306fa256cd27df1039dfae0537b4149
- https://github.com/cilium/cilium/commit/a652c123331852cca90c74202f993d4170fd37fa
- https://docs.cilium.io/en/stable/security/network/encryption-ipsec