CVE-2024-25631: Github.com/cilium/cilium Unencrypted Traffic Between Pods When Vulnerability

MODERATE
Advisory Identifier: GHSA-x989-52fc-4vr4
CVSS 6.1
CWE-319 CWE-311
Published
Advisory Summary

CVE-2024-25631 is a MODERATE (CVSS 6.1) unencrypted traffic between pods when vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Github.com/cilium/cilium libraries in the Go ecosystem. The issue involves unencrypted traffic between pods when using wireguard and an external kvstore. Remediation is available by upgrading affected packages to version 1.14.7.

CVE-2024-25631 at a Glance

CVE Identifier CVE-2024-25631
GHSA Identifier GHSA-x989-52fc-4vr4
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product Github.com/cilium/cilium
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.1

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:N/A:N).

Attack Vector Adjacent (AV:A)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-25631

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.

github.com/cilium/cilium fixed: 1.14.7
Upgrade github.com/cilium/cilium to 1.14.7
Verify Direct and Transitive Dependencies

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-25631, 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.14.7), 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-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. 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

### Impact For Cilium users who have enabled [an external kvstore](https://docs.cilium.io/en/stable/installation/k8s-install-external-etcd/#when-do-i-need-to-use-a-kvstore) and [Wireguard transparent encryption](https://docs.cilium.io/en/stable/security/network/encryption-wireguard/#encryption-wg), traffic between pods in the affected cluster is not encrypted. ### Patches This issue affects Cilium v1.14 before v1.14.7. This issue has been patched in Cilium v1.14.7. ### Workarounds There is no workaround to this issue - affected users are encouraged to upgrade. ### Acknowledgements The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @giorio94 and @gandro for their work on triaging and remediating this issue. ### For more information If you have any questions or comments about this advisory, please reach out on [Slack](https://docs.cilium.io/en/latest/community/community/#slack). If you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list where only members of the Cilium internal security team are subscribed to, and your report will be treated as top priority.

CVE-2024-25631 Affected Github.com/cilium/cilium Versions

1 component(s)
Fixed Versions:
1.14.7
Product / Package Ecosystem Affected Versions Fixed Version
github.com/cilium/cilium
Go
≥ 1.14.0
< 1.14.7
1.14.7

References

Frequently Asked Questions

What is CVE-2024-25631?
CVE-2024-25631 is a security vulnerability in Github.com/cilium/cilium involving Unencrypted traffic between pods when using Wireguard and an external kvstore under CWE-319: Cleartext Transmission of Sensitive Information.
Which Github.com/cilium/cilium versions are affected?
Affected versions include releases prior to 1.14.7 across affected packages: github.com/cilium/cilium.
What version fixes CVE-2024-25631?
Upgrading to 1.14.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/cilium/cilium affected?
Yes, github.com/cilium/cilium is affected in releases prior to 1.14.7. Upgrade your dependency to 1.14.7 or later.
What is the CVSS score of CVE-2024-25631?
CVE-2024-25631 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2024-25631?
CVE-2024-25631 is classified under CWE-319: Cleartext Transmission of Sensitive Information (The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.).
How can I check Go dependencies for CVE-2024-25631?
Run the dependency tree command: 'inspect dependencies for github.com/cilium/cilium'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x989-52fc-4vr4",
  "modified" : "2024-12-18T19:19:52Z",
  "published" : "2024-02-20T23:45:16Z",
  "aliases" : [ "CVE-2024-25631" ],
  "summary" : "Unencrypted traffic between pods when using Wireguard and an external kvstore",
  "details" : "### Impact\n\nFor Cilium users who have enabled [an external kvstore](https://docs.cilium.io/en/stable/installation/k8s-install-external-etcd/#when-do-i-need-to-use-a-kvstore) and [Wireguard transparent encryption](https://docs.cilium.io/en/stable/security/network/encryption-wireguard/#encryption-wg), traffic between pods in the affected cluster is not encrypted.\n\n### Patches\n\nThis issue affects Cilium v1.14 before v1.14.7.\n\nThis issue has been patched in Cilium v1.14.7.\n\n### Workarounds\n\nThere is no workaround to this issue - affected users are encouraged to upgrade.\n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @giorio94 and @gandro for their work on triaging and remediating this issue.\n\n### For more information\n\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\nIf you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list where only members of the Cilium internal security team are subscribed to, and your report will be treated as top priority.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cilium/cilium"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.14.0"
      }, {
        "fixed" : "1.14.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/security/advisories/GHSA-x989-52fc-4vr4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-25631"
  }, {
    "type" : "WEB",
    "url" : "https://docs.cilium.io/en/stable/installation/k8s-install-external-etcd/#when-do-i-need-to-use-a-kvstore"
  }, {
    "type" : "WEB",
    "url" : "https://docs.cilium.io/en/stable/security/network/encryption-wireguard/#encryption-wg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cilium/cilium"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/releases/tag/v1.14.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-311", "CWE-319" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-20T23:45:16Z",
    "nvd_published_at" : "2024-02-20T18:15:53Z"
  }
}