The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Improper Input Validation vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for github.com/kubernetes/kubernetes/pkg/volume/git_repo
.
Affected versions of this package are vulnerable to Improper Input Validation. An attacker with create pod permission could access local git repositories belonging to other pods on the same node by exploiting this vulnerability.
Notes:
This is only exploitable if the cluster still uses the deprecated in-tree gitRepo
volume feature to clone git repositories from other pods within the same node;
The in-tree gitRepo
volume feature has been deprecated and will not receive security updates upstream;
To detect whether this vulnerability has been exploited, the following command can be used to list all pods that use the in-tree gitRepo
volume and clone to a .git
subdirectory:
`kubectl get pods --all-namespaces -o json | jq '.items[] | select(.spec.volumes[].gitRepo.repository | test("^/")) | {name: .metadata.name, namespace: .metadata.namespace, repository: (.spec.volumes[] | select(.gitRepo) | .gitRepo.repository)}'`
This can be mitigated by using an init container to perform git clone operation and then mount the directory into the Pod's container. An example of this approach is provided here.
The use of gitRepo
volumes can be restricted in the cluster using policies such as ValidatingAdmissionPolicy
or through Restricted pod security standard policy. The following Common Expression Language (CEL) expression can be used as part of a policy to reject use of gitRepo
volumes: has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))