CVE-2024-28248: Github.com/cilium/cilium Intermittent HTTP Policy Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-68mj-9pjq-mc85
CVSS 7.2
CWE-693
Published
Advisory Summary

CVE-2024-28248 is a HIGH (CVSS 7.2) intermittent http policy bypass vulnerability (CWE-693: Protection Mechanism Failure) affecting Github.com/cilium/cilium libraries in the Go ecosystem. The issue involves intermittent http policy bypass. Remediation is available by upgrading affected packages to version 1.13.13, 1.14.8, 1.15.2.

CVE-2024-28248 at a Glance

CVE Identifier CVE-2024-28248
GHSA Identifier GHSA-68mj-9pjq-mc85
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product Github.com/cilium/cilium
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N).

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

How to Fix CVE-2024-28248

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.13.13
Upgrade github.com/cilium/cilium to 1.13.13
github.com/cilium/cilium fixed: 1.14.8
Upgrade github.com/cilium/cilium to 1.14.8
github.com/cilium/cilium fixed: 1.15.2
Upgrade github.com/cilium/cilium to 1.15.2
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-28248, 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.13), 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-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. 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 Cilium's [HTTP policies](https://docs.cilium.io/en/stable/security/policy/language/#http) are not consistently applied to all traffic in the scope of the policies, leading to HTTP traffic being incorrectly and intermittently forwarded when it should be dropped. ### Patches This issue affects: * Cilium v1.13 between v1.13.9 and v1.13.12 inclusive * Cilium v1.14 between v1.14.0 and v1.14.7 inclusive * Cilium v1.15.0 and v1.15.1 This issue has been patched in: * Cilium v1.15.2 * Cilium v1.14.8 * Cilium v1.13.13 ### Workarounds There is no workaround for this issue – affected users are strongly encouraged to upgrade. ### Acknowledgements The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @romikps for discovering and reporting this issue, and @sayboras and @jrajahalme for preparing the fix. ### 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 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 internal security team, and your report will be treated as top priority.

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

3 component(s)
Fixed Versions:
1.13.131.14.81.15.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/cilium/cilium
Go
≥ 1.13.9
< 1.13.13
1.13.13
github.com/cilium/cilium
Go
≥ 1.14.0
< 1.14.8
1.14.8
github.com/cilium/cilium
Go
≥ 1.15.0
< 1.15.2
1.15.2

References

Frequently Asked Questions

What is CVE-2024-28248?
CVE-2024-28248 is a security vulnerability in Github.com/cilium/cilium involving Intermittent HTTP policy bypass under CWE-693: Protection Mechanism Failure.
Which Github.com/cilium/cilium versions are affected?
Affected versions include releases prior to 1.13.13, 1.14.8, 1.15.2 across affected packages: github.com/cilium/cilium.
What version fixes CVE-2024-28248?
Upgrading to 1.13.13, 1.14.8, 1.15.2 (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.13.13, 1.14.8, 1.15.2. Upgrade your dependency to 1.13.13, 1.14.8, 1.15.2 or later.
What is the CVSS score of CVE-2024-28248?
CVE-2024-28248 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-28248?
CVE-2024-28248 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check Go dependencies for CVE-2024-28248?
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-68mj-9pjq-mc85",
  "modified" : "2024-03-19T18:31:29Z",
  "published" : "2024-03-18T20:30:22Z",
  "aliases" : [ "CVE-2024-28248" ],
  "summary" : "Intermittent HTTP policy bypass",
  "details" : "### Impact\n\nCilium's [HTTP policies](https://docs.cilium.io/en/stable/security/policy/language/#http) are not consistently applied to all traffic in the scope of the policies, leading to HTTP traffic being incorrectly and intermittently forwarded when it should be dropped.\n\n### Patches\n\nThis issue affects:\n\n* Cilium v1.13 between v1.13.9 and v1.13.12 inclusive\n* Cilium v1.14 between v1.14.0 and v1.14.7 inclusive\n* Cilium v1.15.0 and v1.15.1\n\nThis issue has been patched in:\n\n* Cilium v1.15.2\n* Cilium v1.14.8\n* Cilium v1.13.13\n\n### Workarounds\n\nThere is no workaround for this issue – affected users are strongly encouraged to upgrade.\n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @romikps for discovering and reporting this issue, and @sayboras and @jrajahalme for preparing the fix.\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 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 internal security team, and your report will be treated as top priority.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cilium/cilium"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.13.9"
      }, {
        "fixed" : "1.13.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cilium/cilium"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.14.0"
      }, {
        "fixed" : "1.14.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cilium/cilium"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.15.0"
      }, {
        "fixed" : "1.15.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/security/advisories/GHSA-68mj-9pjq-mc85"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-28248"
  }, {
    "type" : "WEB",
    "url" : "https://docs.cilium.io/en/stable/security/policy/language/#http"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cilium/cilium"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/releases/tag/v1.13.13"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/releases/tag/v1.14.8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cilium/cilium/releases/tag/v1.15.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-693" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-18T20:30:22Z",
    "nvd_published_at" : "2024-03-18T22:15:08Z"
  }
}