Kubelet Incorrect Privilege Assignment
Moderate severity
GitHub Reviewed
Published
Apr 24, 2024
to the GitHub Advisory Database
•
Updated Jun 10, 2024
Package
Affected versions
>= 1.14.0, < 1.14.3
>= 1.13.0, < 1.13.7
Patched versions
1.14.3
1.13.7
Description
Published to the GitHub Advisory Database
Apr 24, 2024
Reviewed
Apr 24, 2024
Last updated
Jun 10, 2024
In kubelet v1.13.6 and v1.14.2, containers for pods that do not specify an explicit
runAsUser
attempt to run as uid 0 (root) on container restart, or if the image was previously pulled to the node. If the pod specifiedmustRunAsNonRoot: true
, the kubelet will refuse to start the container as root. If the pod did not specifymustRunAsNonRoot: true
, the kubelet will run the container as uid 0.References