CVE-2019-11245

Summary

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 specified mustRunAsNonRoot: true, the kubelet will refuse to start the container as root. If the pod did not specify mustRunAsNonRoot: true, the kubelet will run the container as uid 0.

Affected Software

VendorProductVersion RangeStatus
KubernetesKubernetesv1.13.6affected
KubernetesKubernetesv1.14.2affected

Weaknesses

  • CWE-703: CWE-703: Improper Check or Handling of Exceptional Conditions

Workarounds

Specify runAsUser directives in pods to control the uid a container runs as. Specify mustRunAsNonRoot:true directives in pods to prevent starting as root (note this means the attempt to start the container will fail on affected kubelet versions).

ADP Enrichment

CVE Program Container

Additional References

References