{"id":"CVE-2024-5042","aliases":["CVE-2024-5042","GHSA-2rhx-qhxp-5jpw","GO-2024-2866"],"related":[],"kind":"vulnerability","state":"published","title":"Submariner-operator: rbac permissions can allow for the spread of node compromises","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Submariner Operator sets unnecessary RBAC permissions in helm charts in github.com/submariner-io/submariner-operator","format":"markdown","source":"go"},{"lang":"es","text":"Se encontró un fallo en el proyecto Submariner. Debido a permisos innecesarios de control de acceso basados en roles, un atacante privilegiado puede ejecutar un contenedor malicioso en un nodo que puede permitirle robar tokens de cuentas de servicio y comprometer aún más otros nodos y potencialmente todo el clúster.","source":"nvd"}],"published":"2024-05-17T13:12:00.551Z","modified":"2026-10-14T00:17:12.470Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N","score":6.6,"rating":"MEDIUM"}],"cwes":["CWE-250"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.14.9","status":"affected"},{"type":"semver","introduced":"0.15.0","fixed":"0.15.5","status":"affected"},{"type":"semver","introduced":"0.16.0","fixed":"0.16.7","status":"affected"},{"type":"custom","introduced":"0.17.0","fixed":"0.17.2","status":"affected"},{"type":"custom","introduced":"0.18.0-m0","fixed":"0.18.0-rc0","status":"affected"}],"package":"submariner-operator","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v4.16.0-19","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"RHODF-4.16-RHEL-9","package":"odf4/odf-multicluster-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.16::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774540992","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/cephcsi-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774540668","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/cephcsi-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541259","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/mcg-core-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541345","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/mcg-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541880","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/ocs-client-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541518","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/ocs-client-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541420","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/ocs-metrics-exporter-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541448","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/ocs-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541663","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-cli-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541469","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-cloudnative-pg-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774542075","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541617","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-cosi-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541614","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-csi-addons-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541633","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-csi-addons-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541625","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-external-snapshotter-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541625","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-external-snapshotter-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774542179","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-multicluster-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541779","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-multicluster-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541857","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-must-gather-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541919","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odf-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774541919","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/odr-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1774542101","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.20","package":"odf4/rook-ceph-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.20::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/lighthouse-agent-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/lighthouse-coredns-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/submariner-gateway-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/submariner-globalnet-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/submariner-rhel9-operator","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/submariner-route-agent-rhel8","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.16.0-m0","status":"affected","fixed":"0.16.4"}],"ecosystem":"Go","package":"github.com/submariner-io/submariner-operator","purl":"pkg:golang/github.com/submariner-io/submariner-operator","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.17.0-m0","status":"affected","fixed":"0.17.2"}],"ecosystem":"Go","package":"github.com/submariner-io/submariner-operator","purl":"pkg:golang/github.com/submariner-io/submariner-operator","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.15.4"}],"ecosystem":"Go","package":"github.com/submariner-io/submariner-operator","purl":"pkg:golang/github.com/submariner-io/submariner-operator","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.18.0-m0","status":"affected","fixed":"0.18.0-rc0"}],"ecosystem":"Go","package":"github.com/submariner-io/submariner-operator","purl":"pkg:golang/github.com/submariner-io/submariner-operator","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.4"},{"type":"semver","introduced":"0.17.0","status":"affected"}],"ecosystem":"Go","package":"github.com/submariner-io/submariner-operator","purl":"pkg:golang/github.com/submariner-io/submariner-operator","source":"go"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:4591","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6503","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5042","tags":["vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2280921","tags":["issue-tracking","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/advisories/GHSA-2rhx-qhxp-5jpw","tags":["advisory","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5042","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/submariner-io/submariner-operator/issues/3041","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/submariner-io/submariner-operator/pull/3040","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/submariner-io/submariner-operator/pull/3045","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/submariner-io/submariner-operator/pull/3046","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/submariner-io/submariner-operator/pull/3049","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/submariner-io/submariner-operator/commit/b27a04c4270e53cbff6ff8ac6245db10c204bcab","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/submariner-io/submariner-operator","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-05-20T14:43:37.969Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5042","url":"https://www.cve.org/CVERecord?id=CVE-2024-5042","licence":"CVE Terms of Use","modified":"2026-10-13T23:25:13.388Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2rhx-qhxp-5jpw","url":"https://github.com/advisories/GHSA-2rhx-qhxp-5jpw","licence":"CC-BY-4.0","modified":"2026-04-06T17:37:48.452Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2866","url":"https://pkg.go.dev/vuln/GO-2024-2866","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:23.963Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5042","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5042","licence":"Public domain","modified":"2026-10-14T00:17:12.470Z"}],"updatedAt":"2026-11-25T22:58:40.535Z","epss":{"score":0.00507,"percentile":0.44861,"date":"2026-12-01T12:00:22.000Z"}}