CVE-2021-25749 runAsNonRoot logic bypass for Windows containers
Attackers can bypass runAsNonRoot restrictions in Windows containers to execute code with ContainerAdministrator privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-25749?
CVE-2021-25749 is a high-severity vulnerability in Kubernetes Kubernetes, published on 24 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Windows workloads can run as ContainerAdministrator even when those workloads set the runAsNonRoot option to true.
Weakness: CWE-284
Which versions are affected by CVE-2021-25749?
It affects 1 product.
Products include Kubernetes Kubernetes.
How do I fix CVE-2021-25749?
Apply the vendor's patch.
Is CVE-2021-25749 being exploited?
There is no known exploitation of CVE-2021-25749 in the wild and no public exploit code.
Other vulnerabilities in Kubernetes Kubernetes
- CVE-2018-1002105 Privilege Escalation in Kubernetes
- CVE-2017-1000056 Kubernetes Privilege Escalation
- CVE-2016-1906 Authorization bypass in Openshift
- CVE-2023-3676 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
- CVE-2023-3955 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
Sources
Also known as GHSA-vv2r-w4hf-7mhr.