CVE-2024-5042: 
vulnerability analysis and mitigation

Overview

A critical security flaw (CVE-2024-5042) was discovered in the Submariner project. The vulnerability was disclosed on May 17, 2024, and affects the Submariner Operator. The issue stems from unnecessary role-based access control (RBAC) permissions that could potentially allow privilege escalation and cluster-wide compromise (GitHub Advisory, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.6 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N. The flaw is categorized under CWE-250 (Execution with Unnecessary Privileges). The vulnerability affects multiple versions of the Submariner Operator, including versions >= 0.16.0-m0 < 0.16.4, >= 0.17.0-m0 < 0.17.2, < 0.15.4, and >= 0.18.0-m0 < 0.18.0-rc0 (GitHub Advisory).

Impact

If exploited, this vulnerability allows a privileged attacker who can run a malicious container on a node to steal service account tokens. Since Submariner's route agent runs on every node, its service account token becomes accessible from any compromised node. This access could lead to further compromise of other nodes and potentially the entire cluster (Red Hat Bugzilla).

Exploitability

The vulnerability requires a privileged attacker with the ability to run containers on a node. While the attack complexity is rated as High (AC:H), and it requires high privileges (PR:H), no user interaction is needed for exploitation. The attack vector is Network-based, indicating remote exploitation possibility (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Submariner Operator versions 0.16.4, 0.17.2, 0.15.4, and 0.18.0-rc0. Users are strongly advised to upgrade to these patched versions. Red Hat has also addressed this issue in their products through the security advisory RHSA-2024:4591 (Red Hat Advisory).

Additional resources


Source: This report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management