CVE-2021-25749: runAsNonRoot logic bypass for Windows containers

Published Sep 15, 2022
·
Updated

A flaw was found in Kubernetes. This issue allows Windows workloads to run as a ContainerAdministrator even when the workloads set the runAsNonRoot option to true.

Other sources

A security issue was discovered in Kubernetes that could allow Windows workloads to run as ContainerAdministrator even when those workloads set the runAsNonRoot option to true.

ref: https://github.com/rancher/rancher/issues/38949

Red Hat

Windows workloads can run as ContainerAdministrator even when those workloads set the runAsNonRoot option to true.

Affected Software

8 affected componentsFixes available
redhat/kubelet<1.22.14
1.22.14
redhat/kubelet<1.23.11
1.23.11
redhat/kubelet<1.23.5
1.23.5
redhat/kubelet<1.25.0
1.25.0
Kubernetes kubernetes>=1.20.0<=1.21.0
Kubernetes kubernetes>=1.22.0<1.22.14
Kubernetes kubernetes>=1.23.0<1.23.11
Kubernetes kubernetes>=1.24.0<1.24.5

Remediation

Information

To mitigate these vulnerabilities, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster

Event History

Sep 15, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
RemedyDescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-25749.

2

What is the affected software?

The affected software is Kubernetes with versions between 1.20.0 and 1.24.5.

3

What is the severity of CVE-2021-25749?

The severity of CVE-2021-25749 is high.

4

How does this vulnerability affect Windows workloads in Kubernetes?

This vulnerability allows Windows workloads to run as a ContainerAdministrator even when the workloads set the runAsNonRoot option to true.

5

How can I fix CVE-2021-25749?

To fix CVE-2021-25749, update Kubernetes to version 1.25.0 or apply the necessary patches provided by Red Hat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203