high8.5
CVE-2024-22031
A vulnerability has been identified within Rancher where a user with the ability to create a project, on a certain cluster, can create a project with the same …
Impact
A vulnerability has been identified within Rancher where a user with the ability to create a project, on a certain cluster, can create a project with the same name as an existing project in a different cluster. This results in the user gaining access to the other project in the different cluster, resulting in a privilege escalation. This happens because the namespace used on the local cluster to store related resources (PRTBs and secrets) is the name of the project.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/rancher/rancher | >= 2.8.0, < 2.9.9 | 2.9.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2024-22031
- https://github.com/rancher/rancher/security/advisories/GHSA-8h6m-wv39-239m
- https://github.com/advisories/GHSA-8h6m-wv39-239m
- https://pkg.go.dev/vuln/GO-2025-3647
- https://github.com/rancher/rancher/commit/7f16b596120dd382ce6e9ed0baf83bc23f633054
- https://github.com/rancher/rancher/commit/9c1d1c2bfcba36ae4f06c1fd043eb539ad801d4d
- https://github.com/rancher/rancher/commit/b0be28f86fc556414bd9b323f05b2b4bf8317c2d
- https://github.com/rancher/rancher/commit/f036e8b6ab726c3abbc03bbf7c8d0d53373c84e5