CVE-2021-25749 runAsNonRoot logic bypass for Windows containers

High 7.8 Published Updated

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.

All Kubernetes Kubernetes vulnerabilities

Sources

Also known as GHSA-vv2r-w4hf-7mhr.

Is CVE-2021-25749 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free