CVE-2024-5042
MEDIUM 6.6CVSS 3.1Submariner Operator sets unnecessary RBAC permissions
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.
- Published
- 17 May 2024
- Last modified
- 14 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-250
- Also known as
- GHSA-2rhx-qhxp-5jpwGO-2024-2866
- Sources
- NVDJSONOSV GHSA-2rhx-qhxp-5jpwJSONOSV GO-2024-2866JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/submariner-io/submariner-operator | >= 0.16.0-m0, < 0.16.4 | 0.16.4 |
| OSV | Go | github.com/submariner-io/submariner-operator | >= 0.17.0-m0, < 0.17.2 | 0.17.2 |
| OSV | Go | github.com/submariner-io/submariner-operator | < 0.15.4 | 0.15.4 |
| OSV | Go | github.com/submariner-io/submariner-operator | >= 0.18.0-m0, < 0.18.0-rc0 | 0.18.0-rc0 |
| OSV | Go | github.com/submariner-io/submariner-operator | < 0.16.4; >= 0.17.0 | 0.16.4 |
References
- https://access.redhat.com/errata/RHSA-2024:4591 · WEB
- https://access.redhat.com/errata/RHSA-2026:6503 · WEB
- https://access.redhat.com/security/cve/CVE-2024-5042 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2280921 · WEB
- https://github.com/advisories/GHSA-2rhx-qhxp-5jpw · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-5042 · ADVISORY
- https://github.com/submariner-io/submariner-operator/issues/3041 · WEB, REPORT
- https://github.com/submariner-io/submariner-operator/pull/3040 · WEB, FIX
- https://github.com/submariner-io/submariner-operator/pull/3045 · WEB
- https://github.com/submariner-io/submariner-operator/pull/3046 · WEB
- https://github.com/submariner-io/submariner-operator/pull/3049 · WEB
- https://github.com/submariner-io/submariner-operator/commit/b27a04c4270e53cbff6ff8ac6245db10c204bcab · WEB, FIX
- https://github.com/submariner-io/submariner-operator · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2024)