CVE-2024-28860: Github.com/cilium/cilium Cilium Has Insecure IPsec Transport Vulnerability
HIGHCVE-2024-28860 is a HIGH (CVSS 8.0) cilium has insecure ipsec transport vulnerability (CWE-326: Inadequate Encryption Strength) affecting Github.com/cilium/cilium libraries in the Go ecosystem. The issue involves cilium has insecure ipsec transport encryption. Remediation is available by upgrading affected packages to version 1.13.14, 1.14.9, 1.15.3.
CVE-2024-28860 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N).
How to Fix CVE-2024-28860
To remediate this vulnerability, upgrade all affected Github.com/cilium/cilium dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cilium/cilium to 1.13.14
Upgrade github.com/cilium/cilium to 1.14.9
Upgrade github.com/cilium/cilium to 1.15.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cilium/cilium
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-28860, inspect your project dependencies for Github.com/cilium/cilium:
inspect dependencies for github.com/cilium/cilium
Analyze the terminal output to locate any version of Github.com/cilium/cilium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Github.com/cilium/cilium, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-28860 Affected Github.com/cilium/cilium Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cilium/cilium
|
Go |
≥ 1.4.0
< 1.13.14
|
1.13.14
|
|
github.com/cilium/cilium
|
Go |
≥ 1.14.0
< 1.14.9
|
1.14.9
|
|
github.com/cilium/cilium
|
Go |
≥ 1.15.0
< 1.15.3
|
1.15.3
|
References
Frequently Asked Questions
What is CVE-2024-28860?
Which Github.com/cilium/cilium versions are affected?
What version fixes CVE-2024-28860?
Is github.com/cilium/cilium affected?
What is the CVSS score of CVE-2024-28860?
What CWE is associated with CVE-2024-28860?
How can I check Go dependencies for CVE-2024-28860?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pwqm-x5x6-5586",
"modified" : "2024-04-16T18:51:51Z",
"published" : "2024-03-28T17:27:40Z",
"aliases" : [ "CVE-2024-28860" ],
"summary" : "Cilium has insecure IPsec transport encryption",
"details" : "### Impact\n\nUsers of [IPsec transparent encryption](https://docs.cilium.io/en/stable/security/network/encryption-ipsec/) in Cilium may be vulnerable to cryptographic attacks that render the transparent encryption ineffective.\n\nIn particular, Cilium is vulnerable to the following attacks by a man-in-the-middle attacker:\n\n- Chosen plaintext attacks\n- Key recovery attacks\n- Replay attacks\n\nThese 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.\n\n**Important:** After upgrading, users must perform a key rotation using the instructions [here](https://docs.cilium.io/en/latest/security/network/encryption-ipsec/#key-rotation) 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.\n\n### Patches\n\nAll prior versions of Cilium that support IPsec transparent encryption (Cilium 1.4 onwards) are affected by this issue.\n\nPatched versions:\n\n- Cilium 1.15.3\n- Cilium 1.14.9\n- Cilium 1.13.14\n\n### Workarounds\n\nThere is no workaround to this issue. IPsec transparent encryption users are strongly encouraged to upgrade.\n\n### Acknowledgements\n\nThe 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.\n\n### For more information\nIf you have any questions or comments about this advisory, please reach out on [Slack](https://docs.cilium.io/en/latest/community/community/#slack).\n\nAs usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: [security@cilium.io](mailto:security@cilium.io) - 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.13.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.13.13"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.14.0"
}, {
"fixed" : "1.14.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.14.7"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.15.0"
}, {
"fixed" : "1.15.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.15.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/security/advisories/GHSA-pwqm-x5x6-5586"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-28860"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/commit/311fbce5280491cddceab178d83b06fa23688c72"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/commit/a1742b478306fa256cd27df1039dfae0537b4149"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/commit/a652c123331852cca90c74202f993d4170fd37fa"
}, {
"type" : "WEB",
"url" : "https://docs.cilium.io/en/stable/security/network/encryption-ipsec"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cilium/cilium"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2666"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-28T17:27:40Z",
"nvd_published_at" : "2024-03-27T19:15:48Z"
}
}