CVE-2024-22036CWE-269

Rancher Remote Code Execution via Cluster/Node Drivers

Critical · published April 16, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
56.3
In the wild
Unconfirmed
What it is

🚨 A crafty escape route has been discovered in Rancher, where a cluster or node driver can exit the chroot jail and infiltrate the Rancher container like an uninvited guest at a party! 🔥 Think of it like a construction site with scaffolding. If the barriers are weak, a mischievous builder could easily climb up and access all the tools and materials stored inside the main building, causing havoc without proper oversight. In this scenario, an attacker could gain root access to the Rancher container, which is absolutely devastating! From there, they could escalate privileges and control the entire system, potentially compromising sensitive data or critical services. For test environments, it could even lead to execution on the host system — a nightmare scenario for any admin!

Put simply

Think of it like a construction site with scaffolding. If the barriers are weak, a mischievous builder could easily climb up and access all the tools and materials stored inside the main building, causing havoc without proper oversight. This vulnerability allows attackers to escape the chroot jail used in Rancher, which can lead to unauthorized root access within the container. This situation is exacerbated in privileged Docker containers, offering a pathway for further exploitation on the host machine.

What to do

In this scenario, an attacker could gain root access to the Rancher container, which is absolutely devastating! From there, they could escalate privileges and control the entire system, potentially compromising sensitive data or critical services. For test environments, it could even lead to execution on the host system — a nightmare scenario for any admin! To protect your systems, immediately update to Rancher versions 2.7.16, 2.8.9, or 2.9.3. Review your deployment configurations, especially for privileged containers, and implement stricter access controls. It's critical to keep your environments secure! You've got this! Stay proactive, follow these steps, and you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00805 · 56.3th percentile
Weakness
CWE-269 · Improper Privilege Management
Published
2025-04-16T08:37Z
EPSS history
Timeline
  • 16 APR 08:37Z
    Rancher Remote Code Execution via Cluster/Node Drivers
    cvelistv5