{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.14.9"
              },
              {
                "introduced": "0.15.0"
              },
              {
                "fixed": "0.15.5"
              },
              {
                "introduced": "0.16.0"
              },
              {
                "fixed": "0.16.7"
              },
              {
                "introduced": "0.17.0"
              },
              {
                "fixed": "0.17.2"
              },
              {
                "introduced": "0.18.0-m0"
              },
              {
                "fixed": "0.18.0-rc0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e66da70e0a58aea252c2bc3d5719e6820f12ce79"
            },
            {
              "introduced": "98405e171c3e3a41b4b84e263e538909792f68e4"
            },
            {
              "fixed": "4dd55e33d863b3fdf57a9d1903e874429bf5de6e"
            },
            {
              "introduced": "c8ec8d075914d068c17c0c9ff868160ab670e28a"
            },
            {
              "fixed": "d4530ae1ad424b673305a574474b18b33f468ecf"
            },
            {
              "introduced": "0a24be37766b0d46e8c54faa8b986d7339fab74f"
            },
            {
              "fixed": "060d69c8481af2d152e8beca090f286aa8ac89be"
            },
            {
              "introduced": "42602d0ba2c7b278c002a150114c04afb96e000d"
            },
            {
              "fixed": "460a4d25ae29042ee75c3c0ecd3aafbc8c37e141"
            }
          ],
          "repo": "https://github.com/submariner-io/submariner-operator",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2rhx-qhxp-5jpw"
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-250"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5042.json"
  },
  "details": "A flaw was found in the Submariner project. Due to unnecessary role-based access control permissions, a privileged attacker can run a malicious container on a node that may allow them to steal service account tokens and further compromise other nodes and potentially the entire cluster.",
  "id": "CVE-2024-5042",
  "modified": "2026-08-17T03:36:29.189739054Z",
  "published": "2024-05-17T13:12:00.551Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://catalog.redhat.com/software/containers/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2024:4591"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:6503"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2024-5042"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5042.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-2rhx-qhxp-5jpw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-5042"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2280921"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/submariner-io/submariner-operator"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Submariner-operator: rbac permissions can allow for the spread of node compromises"
}