title: runAsNonRoot logic bypass for Windows containers
description: Windows workloads can run as ContainerAdministrator even when those workloads set the runAsNonRoot option to true.
problem types: CWE-284 Improper Access Control
affected:
{
vendor: Kubernetes
product: Kubernetes
versions:
version: kubelet v1.22.0 - v1.22.13, status: affected, lessThan: v1.22.14, versionType: custom
version: kubelet v1.23.0 - v1.23.10, status: affected, lessThan: v1.23.11, versionType: custom
version: kubelet v1.24.0 - v1.24.4, status: affected, lessThan: v1.24.5, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
]
solutions: To mitigate these vulnerabilities, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster