cve.bz

CVE-2024-5042 Execution with Unnecessary Privileges

6.6 mediumEPSS 0.6%Fix available

Medium (6.6). EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/submariner-io/submariner-operator 0.15.4, 0.16.4, 0.17.2.

On this page
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.

Severity

CVSS 3.1

6.6 medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N
EPSS
0.6% (up from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-250 Execution with Unnecessary Privileges
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • github.com/submariner-io/submariner-operator (Go): fixed in 0.16.4, 0.17.2, 0.15.4, 0.18.0-rc0
  • Red Hat RHODF-4.16-RHEL-9: fixed in v4.16.0-19
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774540992
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774540668
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774541259
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774541345
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774541880
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774541518
  • Red Hat Red Hat Openshift Data Foundation 4.20: fixed in 1774541420

Ask an AI about this CVE

Show the promptExplain CVE-2024-5042 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5042?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5042?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5042 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat RHODF-4.16-RHEL-9v4.16.0-19
Red Hat Openshift Data Foundation 4.201774540992
Red Hat Openshift Data Foundation 4.201774540668
Red Hat Openshift Data Foundation 4.201774541259
Red Hat Openshift Data Foundation 4.201774541345
Red Hat Openshift Data Foundation 4.201774541880
Red Hat Openshift Data Foundation 4.201774541518
Red Hat Openshift Data Foundation 4.201774541420
Red Hat Openshift Data Foundation 4.201774541448
Red Hat Openshift Data Foundation 4.201774541663
Red Hat Openshift Data Foundation 4.201774541469
Red Hat Openshift Data Foundation 4.201774542075
Red Hat Openshift Data Foundation 4.201774541617
Red Hat Openshift Data Foundation 4.201774541614
Red Hat Openshift Data Foundation 4.201774541633
Red Hat Openshift Data Foundation 4.201774541625
Red Hat Openshift Data Foundation 4.201774542179
Red Hat Openshift Data Foundation 4.201774541779
Red Hat Openshift Data Foundation 4.201774541857
Red Hat Openshift Data Foundation 4.201774541919
Red Hat Openshift Data Foundation 4.201774542101

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2rhx-qhxp-5jpwGogithub.com/submariner-io/submariner-operator>=0.16.0-m0 <0.16.40.16.4
GHSA-2rhx-qhxp-5jpwGogithub.com/submariner-io/submariner-operator>=0.17.0-m0 <0.17.20.17.2
GHSA-2rhx-qhxp-5jpwGogithub.com/submariner-io/submariner-operator<0.15.40.15.4
GHSA-2rhx-qhxp-5jpwGogithub.com/submariner-io/submariner-operator>=0.18.0-m0 <0.18.0-rc00.18.0-rc0
GO-2024-2866Gogithub.com/submariner-io/submariner-operator<0.16.4
>=0.17.0
0.16.4

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

For the submariner operator in Red Hat Advanced Cluster Management for Kubernetes, the submariner-security outlined potential vulnerabilities regarding RBAC permissions being too broad. Those permissions make it possible to create, patch or update statefulsets or replicasets resources. This may allow new privileged containers escaping them and gaining root privileges on any worker nodes where those containers have been deployed within the cluster.

ProductPackageStateAdvisory
RHODF-4.16-RHEL-9odf4/odf-multicluster-rhel9-operator:v4.16.0-19Fixed 2024-07-17RHSA-2024:4591
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9:1774540992Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9-operator:1774540668Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/mcg-core-rhel9:1774541259Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/mcg-rhel9-operator:1774541345Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/ocs-client-console-rhel9:1774541880Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/ocs-client-rhel9-operator:1774541518Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/ocs-metrics-exporter-rhel9:1774541420Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/ocs-rhel9-operator:1774541448Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/odf-cli-rhel9:1774541663Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/odf-cloudnative-pg-rhel9-operator:1774541469Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/odf-console-rhel9:1774542075Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/odf-cosi-sidecar-rhel9:1774541617Fixed 2026-04-02RHSA-2026:6503
Red Hat Openshift Data Foundation 4.20odf4/odf-csi-addons-rhel9-operator:1774541614Fixed 2026-04-02RHSA-2026:6503
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-agent-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-coredns-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-gateway-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-globalnet-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-rhel9-operatorAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-route-agent-rhel8Affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5042.

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON