GitHub Advisoryadvisory · Go
GHSA-pwqm-x5x6-5586 Cilium has insecure IPsec transport encryption
HIGH
Official page ↗
- Aliases
- CVE-2024-28860
- Ecosystem
- Go
- Packages
- github.com/cilium/cilium
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-326
- Reviewed
- 2024-03-28
Affected packages
• Go github.com/cilium/cilium: >= 1.4.0, < 1.13.14 → fixed in 1.13.14
• Go github.com/cilium/cilium: >= 1.14.0, < 1.14.9 → fixed in 1.14.9
• Go github.com/cilium/cilium: >= 1.15.0, < 1.15.3 → fixed in 1.15.3
Description
Impact
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 the following attacks by a man-in-the-middle attacker:
• Chosen plaintext attacks
• Key recovery attacks
• Replay attacks
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.
Important: After upgrading, users must perform a key rotation using the instructions here to ensure that they are no longer vulnerable to this issue. Please note that the key rotation instructions have recently been updated, and users must use the new instructions to properly establish secure IPsec tunnels. To validate that the new instructions have been followed properly, ensure that the IPsec Kubernetes secret contains a "+" sign.
Patches
All prior versions of Cilium that support IPsec transparent encryption (Cilium 1.4 onwards) are affected by this issue.
Patched versions:
• Cilium 1.15.3
• Cilium 1.14.9
• Cilium 1.13.14
Workarounds
There is no workaround to this issue. IPsec transparent encryption users are strongly encouraged to upgrade.
Acknowledgements
The Cilium community has worked together with members of Cure53 and Isovalent to prepare these mitigations. Special thanks to @NikAleksandrov and @pchaigno for their work on remediating the issue. Thanks to Marsh Ray, Senior Software Developer at Microsoft, for input and guidance on the fix.
For more information
If you have any questions or comments about this advisory, please reach out on Slack.
As usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: [email protected] - first, before disclosing them in any public forums. This is a private mailing list where only members of the Cilium internal security team are subscribed to, and is treated as top priority.
Related
Alias · CVE (1)
- CVE-2024-28860 Cilium is a networking, observability, and security solution with an eBPF-based dataplane. vulnerability
Weakness · CWE (1)
- CWE-326 Inadequate Encryption Strength weakness
References
- https://github.com/cilium/cilium/security/advisories/GHSA-pwqm-x5x6-5586 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-28860 advisory
- https://github.com/cilium/cilium/commit/311fbce5280491cddceab178d83b06fa23688c72 web
- https://github.com/cilium/cilium/commit/a1742b478306fa256cd27df1039dfae0537b4149 web
- https://github.com/cilium/cilium/commit/a652c123331852cca90c74202f993d4170fd37fa web
- https://docs.cilium.io/en/stable/security/network/encryption-ipsec web
- https://github.com/cilium/cilium package
- https://pkg.go.dev/vuln/GO-2024-2666 web