Vulnerabilities in pkg:golang/github.com/submariner-io/submariner-operator
PACKAGECVE-2024-5042 is a MODERATE (CVSS 6.6) submariner operator sets unnecessary rbac vulnerability (CWE-250: Execution with Unnecessary Privileges) affecting Github.com/submariner io/submariner operator libraries in the Go ecosystem. The issue involves submariner operator sets unnecessary rbac permissions. Remediation is available by upgrading affected packages to version 0.16.4, 0.17.2, 0.15.4, 0.18.0-rc0.
pkg:golang/github.com/submariner-io/submariner-operator
Vulnerability advisories affecting package pkg:golang/github.com/submariner-io/submariner-operator. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2rhx-qhxp-5jpw | CVE-2024-5042 | MODERATE | Submariner Operator sets unnecessary RBAC permissions |
CVE-2024-5042 at a Glance
Security Impact
CVSS: 6.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N).
How to Fix CVE-2024-5042
To remediate this vulnerability, upgrade all affected Github.com/submariner io/submariner operator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/submariner-io/submariner-operator to 0.16.4
Upgrade github.com/submariner-io/submariner-operator to 0.17.2
Upgrade github.com/submariner-io/submariner-operator to 0.15.4
Upgrade github.com/submariner-io/submariner-operator to 0.18.0-rc0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/submariner-io/submariner-operator
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-5042, inspect your project dependencies for Github.com/submariner io/submariner operator:
inspect dependencies for github.com/submariner-io/submariner-operator
Analyze the terminal output to locate any version of Github.com/submariner io/submariner operator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.16.4), 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-250: Execution with Unnecessary Privileges, where the product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses. In Github.com/submariner io/submariner operator, 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
CVE-2024-5042 Affected Github.com/submariner io/submariner operator Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/submariner-io/submariner-operator
|
Go |
≥ 0.16.0-m0
< 0.16.4
|
0.16.4
|
|
github.com/submariner-io/submariner-operator
|
Go |
≥ 0.17.0-m0
< 0.17.2
|
0.17.2
|
|
github.com/submariner-io/submariner-operator
|
Go |
< 0.15.4
|
0.15.4
|
|
github.com/submariner-io/submariner-operator
|
Go |
≥ 0.18.0-m0
< 0.18.0-rc0
|
0.18.0-rc0
|
References
Frequently Asked Questions
What is CVE-2024-5042?
Which Github.com/submariner io/submariner operator versions are affected?
What version fixes CVE-2024-5042?
Is github.com/submariner-io/submariner-operator affected?
What is the CVSS score of CVE-2024-5042?
What CWE is associated with CVE-2024-5042?
How can I check Go dependencies for CVE-2024-5042?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2rhx-qhxp-5jpw",
"modified" : "2026-04-06T17:19:54Z",
"published" : "2024-05-17T15:31:10Z",
"aliases" : [ "CVE-2024-5042" ],
"summary" : "Submariner Operator sets unnecessary RBAC permissions",
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/submariner-io/submariner-operator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.16.0-m0"
}, {
"fixed" : "0.16.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/submariner-io/submariner-operator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.17.0-m0"
}, {
"fixed" : "0.17.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/submariner-io/submariner-operator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.15.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/submariner-io/submariner-operator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.18.0-m0"
}, {
"fixed" : "0.18.0-rc0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-5042"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/issues/3041"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/pull/3040"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/pull/3045"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/pull/3046"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/pull/3049"
}, {
"type" : "WEB",
"url" : "https://github.com/submariner-io/submariner-operator/commit/b27a04c4270e53cbff6ff8ac6245db10c204bcab"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4591"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:6503"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-5042"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2280921"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2rhx-qhxp-5jpw"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/submariner-io/submariner-operator"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-250" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-17T20:03:57Z",
"nvd_published_at" : "2024-05-17T14:15:21Z"
}
}