Containers and Kubernetes Findings.
17 findings in containers and Kubernetes, each written up as a report carries it: what the weakness is and what it lets an attacker do, the fix, CVSS 3.1 and 4.0 ratings, the CWE and the references.
Critical3
Docker Engine API Exposed Without AuthenticationCVSS 9.8 · CWE-306The Docker Engine API is reachable over the network without authentication, so anyone who can reach it can run containers on the host and gain root on it.etcd Exposed Without AuthenticationCVSS 9.8 · CWE-306The etcd database that holds the Kubernetes cluster's state accepts connections without client certificate authentication, exposing every Secret and object in the cluster.Kubelet API Accessible Without AuthenticationCVSS 9.8 · CWE-306The kubelet API on a node accepts unauthenticated requests, letting anyone who can reach it list pods and run commands in any container on that node.
High9
Docker Socket Mounted Into a ContainerCVSS 8.8 · CWE-250A container has the Docker daemon's socket mounted, which lets anyone in the container control Docker on the host and so gain root on it.Overly Permissive Kubernetes RBACCVSS 8.8 · CWE-266Kubernetes roles grant users, groups or service accounts more access than they need, such as wildcard rights or permissions that allow escalation to cluster administrator.Privileged ContainersCVSS 8.8 · CWE-250One or more containers run in privileged mode, which removes most of the isolation between the container and the node it runs on.Sensitive hostPath MountsCVSS 8.8 · CWE-552Pods mount sensitive directories or files from the node's filesystem, giving their containers access to node configuration, credentials or runtime sockets.Kubernetes Dashboard ExposedCVSS 8.2 · CWE-306The Kubernetes Dashboard is reachable from an untrusted network, where it may allow cluster management without credentials or through an over-privileged account.Container Images With Known VulnerabilitiesCVSS 8.1 · CWE-1395Container images in use contain operating system packages or libraries with publicly known vulnerabilities for which fixes are available.Containers Sharing Host NamespacesCVSS 7.9 · CWE-653Pods share the node's process, network or IPC namespace, so their containers can see and interact with the node's processes and network traffic.Kubernetes API Server Allows Anonymous AccessCVSS 7.5 · CWE-306The Kubernetes API server accepts unauthenticated requests and authorises them to reach more than basic health and version information.Pod Security Admission Not EnforcedCVSS 7.2 · CWE-1188No namespace enforces a Pod Security Standard, so anyone able to create pods can run privileged containers or mount the node's filesystem.
Medium3
Secrets in Plain Environment Variables or ConfigMapsCVSS 6.5 · CWE-312Credentials are placed in plain environment variables or ConfigMaps instead of being handled as secrets, so anyone who can read workload definitions can read them.Containers Running as RootCVSS 5.3 · CWE-250Containers run their processes as root, so compromising the application gives an attacker root inside the container and makes an escape to the node easier.No Kubernetes Network PoliciesCVSS 4.6 · CWE-653The cluster has no network policies, so every pod can connect to every other pod and service, and to external networks, without restriction.
Low2
Service Account Tokens Mounted UnnecessarilyCVSS 3.3 · CWE-1188Pods receive a Kubernetes service account token they do not need, which an attacker who compromises the pod can use to call the Kubernetes API.Unpinned Container Image TagsCVSS 3.3 · CWE-494Workloads reference container images by mutable tags such as latest rather than by digest, so the code that runs can change without review.
The Other Areas
Web Applications 87Authentication and Sessions 32APIs 16TLS and Certificates 20Network Services 56Internal Networks 9Active Directory 44Windows and Linux Hosts 29Patching and Outdated Software 36AWS 19Azure and Microsoft 365 19Google Cloud 11Mobile Applications 22Wireless 11Email and DNS 11Thick Clients 11Source Code and Supply Chain 13AI and LLM Applications 8Social Engineering and Physical 14IoT and OT 5