480 KiB
480 KiB
hide | |
---|---|
|
Security Overview
Helm-Chart
Scan Results
Chart Object: prometheus/charts/kube-state-metrics/templates/clusterrole.yaml
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Rbac Security Check | KSV041 | Do not allow management of secrets | CRITICAL | Expand...Check whether role permits managing secretsRole permits management of secret(s) |
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Kubernetes Security Check | KSV001 | Process can elevate its own privileges | MEDIUM | Expand...A program inside the container can elevate its own privileges and run as root, which might give the program control over the container and node.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'securityContext.allowPrivilegeEscalation' to false |
|
Kubernetes Security Check | KSV003 | Default capabilities not dropped | LOW | Expand...The container should drop all default capabilities and add only those that are needed for its execution.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should add 'ALL' to 'securityContext.capabilities.drop' |
|
Kubernetes Security Check | KSV011 | CPU not limited | LOW | Expand...Enforcing CPU limits prevents DoS via resource exhaustion.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'resources.limits.cpu' |
|
Kubernetes Security Check | KSV014 | Root file system is not read-only | LOW | Expand...An immutable root file system prevents applications from writing to their local disk. This can limit intrusions, as attackers will not be able to tamper with the file system or write foreign executables to disk.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'securityContext.readOnlyRootFilesystem' to true |
|
Kubernetes Security Check | KSV015 | CPU requests not specified | LOW | Expand...When containers have resource requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'resources.requests.cpu' |
|
Kubernetes Security Check | KSV016 | Memory requests not specified | LOW | Expand...When containers have memory requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'resources.requests.memory' |
|
Kubernetes Security Check | KSV018 | Memory not limited | LOW | Expand...Enforcing memory limits prevents DoS via resource exhaustion.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'resources.limits.memory' |
|
Kubernetes Security Check | KSV020 | Runs with low user ID | LOW | Expand...Force the container to run with user ID > 10000 to avoid conflicts with the host’s user table.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'securityContext.runAsUser' > 10000 |
|
Kubernetes Security Check | KSV021 | Runs with low group ID | LOW | Expand...Force the container to run with group ID > 10000 to avoid conflicts with the host’s user table.Container 'kube-state-metrics' of Deployment 'RELEASE-NAME-kube-state-metrics' should set 'securityContext.runAsGroup' > 10000 |
|
Kubernetes Security Check | KSV030 | Default Seccomp profile not set | LOW | Expand...The RuntimeDefault/Localhost seccomp profile must be required, or allow specific additional profiles.Either Pod or Container should set 'securityContext.seccompProfile.type' to 'RuntimeDefault' |
|
Kubernetes Security Check | KSV106 | Container capabilities must only include NET_BIND_SERVICE | LOW | Expand...Containers must drop ALL capabilities, and are only permitted to add back the NET_BIND_SERVICE capability.container should drop all |
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Kubernetes Security Check | KSV001 | Process can elevate its own privileges | MEDIUM | Expand...A program inside the container can elevate its own privileges and run as root, which might give the program control over the container and node.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'securityContext.allowPrivilegeEscalation' to false |
|
Kubernetes Security Check | KSV003 | Default capabilities not dropped | LOW | Expand...The container should drop all default capabilities and add only those that are needed for its execution.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should add 'ALL' to 'securityContext.capabilities.drop' |
|
Kubernetes Security Check | KSV009 | Access to host network | HIGH | Expand...Sharing the host’s network namespace permits processes in the pod to communicate with processes bound to the host’s loopback adapter.DaemonSet 'RELEASE-NAME-node-exporter' should not set 'spec.template.spec.hostNetwork' to true |
|
Kubernetes Security Check | KSV010 | Access to host PID | HIGH | Expand...Sharing the host’s PID namespace allows visibility on host processes, potentially leaking information such as environment variables and configuration.DaemonSet 'RELEASE-NAME-node-exporter' should not set 'spec.template.spec.hostPID' to true |
|
Kubernetes Security Check | KSV011 | CPU not limited | LOW | Expand...Enforcing CPU limits prevents DoS via resource exhaustion.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'resources.limits.cpu' |
|
Kubernetes Security Check | KSV014 | Root file system is not read-only | LOW | Expand...An immutable root file system prevents applications from writing to their local disk. This can limit intrusions, as attackers will not be able to tamper with the file system or write foreign executables to disk.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'securityContext.readOnlyRootFilesystem' to true |
|
Kubernetes Security Check | KSV015 | CPU requests not specified | LOW | Expand...When containers have resource requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'resources.requests.cpu' |
|
Kubernetes Security Check | KSV016 | Memory requests not specified | LOW | Expand...When containers have memory requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'resources.requests.memory' |
|
Kubernetes Security Check | KSV018 | Memory not limited | LOW | Expand...Enforcing memory limits prevents DoS via resource exhaustion.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'resources.limits.memory' |
|
Kubernetes Security Check | KSV020 | Runs with low user ID | LOW | Expand...Force the container to run with user ID > 10000 to avoid conflicts with the host’s user table.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'securityContext.runAsUser' > 10000 |
|
Kubernetes Security Check | KSV021 | Runs with low group ID | LOW | Expand...Force the container to run with group ID > 10000 to avoid conflicts with the host’s user table.Container 'node-exporter' of DaemonSet 'RELEASE-NAME-node-exporter' should set 'securityContext.runAsGroup' > 10000 |
|
Kubernetes Security Check | KSV023 | hostPath volumes mounted | MEDIUM | Expand...HostPath volumes must be forbidden.DaemonSet 'RELEASE-NAME-node-exporter' should not set 'spec.template.volumes.hostPath' |
|
Kubernetes Security Check | KSV030 | Default Seccomp profile not set | LOW | Expand...The RuntimeDefault/Localhost seccomp profile must be required, or allow specific additional profiles.Either Pod or Container should set 'securityContext.seccompProfile.type' to 'RuntimeDefault' |
|
Kubernetes Security Check | KSV106 | Container capabilities must only include NET_BIND_SERVICE | LOW | Expand...Containers must drop ALL capabilities, and are only permitted to add back the NET_BIND_SERVICE capability.container should drop all |
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Rbac Security Check | KSV041 | Do not allow management of secrets | CRITICAL | Expand...Check whether role permits managing secretsRole permits management of secret(s) |
|
Rbac Security Check | KSV045 | No wildcard verb roles | CRITICAL | Expand...Check whether role permits wildcard verb on specific resourcesRole permits wildcard verb on specific resources |
|
Rbac Security Check | KSV045 | No wildcard verb roles | CRITICAL | Expand...Check whether role permits wildcard verb on specific resourcesRole permits wildcard verb on specific resources |
|
Rbac Security Check | KSV048 | Do not allow update/create of a malicious pod | HIGH | Expand...Check whether role permits update/create of a malicious podRole permits create/update of a malicious pod |
|
Rbac Security Check | KSV049 | Do not allow management of configmaps | MEDIUM | Expand...Some workloads leverage configmaps to store sensitive data or configuration parameters that affect runtime behavior that can be modified by an attacker or combined with another issue to potentially lead to compromise.ClusterRole 'RELEASE-NAME-prometheus' should not have access to resource 'configmaps' for verbs ["create", "update", "patch", "delete", "deletecollection", "impersonate", "*"] |
|
Rbac Security Check | KSV056 | Do not allow management of networking resources | HIGH | Expand...The ability to control which pods get service traffic directed to them allows for interception attacks. Controlling network policy allows for bypassing lateral movement restrictions.ClusterRole 'RELEASE-NAME-prometheus' should not have access to resources ["services", "endpoints", "endpointslices", "networkpolicies", "ingresses"] for verbs ["create", "update", "patch", "delete", "deletecollection", "impersonate", "*"] |
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Kubernetes Security Check | KSV037 | User Pods should not be placed in kube-system namespace | MEDIUM | Expand...ensure that User pods are not placed in kube-system namespaceService 'RELEASE-NAME-prometheus-coredns' should not be set with 'kube-system' namespace |
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
No Misconfigurations found |
---|
Type | Misconfiguration ID | Check | Severity | Explaination | Links |
---|---|---|---|---|---|
Rbac Security Check | KSV047 | Do not allow privilege escalation from node proxy | HIGH | Expand...Check whether role permits privilege escalation from node proxyRole permits privilege escalation from node proxy |
Containers
Detected Containers
tccr.io/truecharts/alpine:v3.16.0@sha256:16dc15f3d61a1e30b1df9f839e53636847b6097286b2b74c637b25fd8264f730
tccr.io/truecharts/prometheus-operator:v0.57.0@sha256:7d7ae5a878ae07a25f60c7bdc1d24242cefc57542c90a9431ce1fb6985c6e9cf
docker.io/bitnami/node-exporter:1.3.1-debian-11-r3
docker.io/bitnami/kube-state-metrics:2.5.0-debian-11-r3
Scan Results
Container: tccr.io/truecharts/alpine:v3.16.0@sha256:16dc15f3d61a1e30b1df9f839e53636847b6097286b2b74c637b25fd8264f730 (alpine 3.16.0)
alpine
No Vulnerabilities found |
---|
Container: tccr.io/truecharts/prometheus-operator:v0.57.0@sha256:7d7ae5a878ae07a25f60c7bdc1d24242cefc57542c90a9431ce1fb6985c6e9cf (debian 11.3)
debian
gobinary
gobinary
No Vulnerabilities found |
---|
Container: docker.io/bitnami/node-exporter:1.3.1-debian-11-r3 (debian 11.3)
debian
gobinary
Package | Vulnerability | Severity | Installed Version | Fixed Version | Links |
---|---|---|---|---|---|
golang.org/x/text | CVE-2021-38561 | HIGH | v0.3.6 | 0.3.7 |
gobinary
Package | Vulnerability | Severity | Installed Version | Fixed Version | Links |
---|---|---|---|---|---|
golang.org/x/text | CVE-2021-38561 | HIGH | v0.3.6 | 0.3.7 |
Container: docker.io/bitnami/kube-state-metrics:2.5.0-debian-11-r3 (debian 11.3)
debian
gobinary
No Vulnerabilities found |
---|