CVE-2024-5042: Submariner 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 May 17, 2024 · Updated Apr 6, 2026
Affected packages
github.com/submariner-io/submariner-operator
- Ecosystem
- Go
- Affected
- >= 0.16.0-m0, < 0.16.4
- Fixed in
- 0.16.4
- Check
go list -m github.com/submariner-io/submariner-operator
github.com/submariner-io/submariner-operator
- Ecosystem
- Go
- Affected
- >= 0.17.0-m0, < 0.17.2
- Fixed in
- 0.17.2
- Check
go list -m github.com/submariner-io/submariner-operator
github.com/submariner-io/submariner-operator
- Ecosystem
- Go
- Affected
- < 0.15.4
- Fixed in
- 0.15.4
- Check
go list -m github.com/submariner-io/submariner-operator
github.com/submariner-io/submariner-operator
- Ecosystem
- Go
- Affected
- >= 0.18.0-m0, < 0.18.0-rc0
- Fixed in
- 0.18.0-rc0
- Check
go list -m github.com/submariner-io/submariner-operator
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to skitt.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5042
- https://access.redhat.com/security/cve/CVE-2024-5042
- https://bugzilla.redhat.com/show_bug.cgi?id=2280921
- https://github.com/submariner-io/submariner-operator/issues/3041
- https://github.com/submariner-io/submariner-operator/pull/3040
- https://github.com/submariner-io/submariner-operator/commit/b27a04c4270e53cbff6ff8ac6245db10c204bcab
- https://access.redhat.com/errata/RHSA-2024:4591
- https://github.com/submariner-io/submariner-operator/pull/3045
- https://github.com/submariner-io/submariner-operator/pull/3046
- https://github.com/submariner-io/submariner-operator/pull/3049
- https://access.redhat.com/errata/RHSA-2026:6503
- https://github.com/advisories/GHSA-2rhx-qhxp-5jpw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
