CVE-2024-22031Rancher users who can create Projects can gain access to arbitrary projects
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/rancher/rancher | Fixed | 2.11.1 | GHSA-8h6m-wv39-239m |
What the vendor says
As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SUSE rancher: affected: 2.8.0 to before 2.9.9, 2.10.0 to before 2.10.5, 2.11.0 to before 2.11.1; fixed in
2.9.9,2.10.5,2.11.1
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2024-22031
- https://github.com/rancher/rancher/security/advisories/GHSA-8h6m-wv39-239m
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.