CVE-2025-1767
Medium · 6.5CVSS
6.5
EPSS
0.7%
Published
Mar 13, 2025
CISA due date
—
Cloudanix analysis
A problem in certain cluster setups that share code repositories between workloads can let some users reach or alter information they should not access.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Other
- Class
- Kubernetes
- Remediation
- Workaround Only
- Effort
- Low
- Patch risk
- None
What it actually does
The in-tree gitRepo volume allows pods on the same node to clone and access git repositories belonging to other pods without proper isolation, enabling unauthorized read and write access to repository contents across pod boundaries.
Why it matters to the business
Organizations running Kubernetes on affected Red Hat Enterprise Linux 8 systems that still use the deprecated gitRepo volume face risk of data exposure or tampering between workloads on shared nodes, potentially affecting compliance and operational integrity until kernels are updated; the large number of dependent packages increases upgrade scope.
How an attack unfolds
An attacker with high privileges deploys a malicious pod on a node already hosting a target pod using gitRepo volumes, then leverages the volume mechanism to clone and interact with the target's repository, exfiltrating or modifying data due to missing cross-pod isolation in the deprecated feature.
How to fix it
Migrate away from the deprecated in-tree gitRepo volume to CSI driver-based or other supported volume plugins; for Red Hat Enterprise Linux 8 systems update all listed kernel packages to version 0:4.18.0-348.20.1.el8_5 or later.
How to confirm the fix worked
Confirm no pods are using the in-tree gitRepo volume via cluster configuration audits; verify kernel package versions match or exceed 0:4.18.0-348.20.1.el8_5 on all nodes; test pod isolation by attempting cross-pod repository access in a lab environment after changes.
Typical attack path
- Identify Kubernetes nodes running pods that still rely on the in-tree gitRepo volume
- Obtain high-privileged access sufficient to schedule a new pod on the same node
- Deploy attacker-controlled pod configured to use gitRepo volume targeting the victim's repository
- Clone and access repository contents to read sensitive data or commit unauthorized changes
- Exfiltrate data or persist modifications without triggering volume-level access controls
How to detect it
Review Kubernetes audit logs and volume mount events for unexpected gitRepo usage patterns across pods on the same node; inspect node-level kernel logs and container runtime events for cross-pod repository clone attempts; correlate with process execution involving git operations from non-owner pods.
What your security team should do
- Immediately inventory all clusters for remaining use of in-tree gitRepo volumes and schedule migration
- Apply the listed kernel package updates to version 0:4.18.0-348.20.1.el8_5 across affected Red Hat Enterprise Linux 8 hosts
- Implement node isolation or taints to reduce co-location of untrusted pods where gitRepo usage cannot be eliminated quickly
- Monitor EPSS trend and re-evaluate exploit maturity as new information emerges
The record
This CVE only affects Kubernetes clusters that utilize the in-tree gitRepo volume to clone git repositories from other pods within the same node. Since the in-tree gitRepo volume feature has been deprecated and will not receive security updates upstream, any cluster still using this feature remains vulnerable.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | k8s.io/kubernetes | 0 | No fix |
| Chainguard | argo-cd-2.10 | 0 | 0 |
| Chainguard | argo-cd-2.10-compat | 0 | 0 |
| Chainguard | argo-cd-2.10-repo-server | 0 | 0 |
| Chainguard | argo-cd-2.11 | 0 | 0 |
| Chainguard | argo-cd-2.11-compat | 0 | 0 |
| Chainguard | argo-cd-2.11-repo-server | 0 | 0 |
| Chainguard | argo-cd-2.12-compat | 0 | 0 |
| Chainguard | argo-cd-2.12-repo-server | 0 | 0 |
| Chainguard | argo-cd-2.13-compat | 0 | 0 |
| Chainguard | argo-cd-2.13-repo-server | 0 | 0 |
| Chainguard | argo-cd-2.14 | 0 | 0 |
| Chainguard | argo-cd-2.14-compat | 0 | 0 |
| Chainguard | argo-cd-2.14-repo-server | 0 | 0 |
| Chainguard | argo-cd-3.0 | 0 | 0 |
| Chainguard | argo-cd-3.0-compat | 0 | 0 |
| Chainguard | argo-cd-3.0-iamguarded-compat | 0 | 0 |
| Chainguard | argo-cd-3.0-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-2.10 | 0 | 0 |
| Chainguard | argo-cd-fips-2.10-compat | 0 | 0 |
| Chainguard | argo-cd-fips-2.10-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-2.11 | 0 | 0 |
| Chainguard | argo-cd-fips-2.11-compat | 0 | 0 |
| Chainguard | argo-cd-fips-2.11-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-2.12 | 0 | 0 |
| Chainguard | argo-cd-fips-2.12-compat | 0 | 0 |
| Chainguard | argo-cd-fips-2.12-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-2.13 | 0 | 0 |
| Chainguard | argo-cd-fips-2.13-compat | 0 | 0 |
| Chainguard | argo-cd-fips-2.13-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-2.14 | 0 | 0 |
| Chainguard | argo-cd-fips-2.14-compat | 0 | 0 |
| Chainguard | argo-cd-fips-2.14-repo-server | 0 | 0 |
| Chainguard | argo-cd-fips-3.0 | 0 | 0 |
| Chainguard | argo-cd-fips-3.0-compat | 0 | 0 |
| Chainguard | argo-cd-fips-3.0-iamguarded-compat | 0 | 0 |
| Chainguard | argo-cd-fips-3.0-repo-server | 0 | 0 |
| Chainguard | argo-rollouts | 0 | 0 |
| Chainguard | argo-rollouts-compat | 0 | 0 |
| Chainguard | argo-rollouts-fips | 0 | 0 |
| Chainguard | argocd-image-updater | 0 | 0 |
| Chainguard | argocd-image-updater-compat | 0 | 0 |
| Chainguard | argocd-image-updater-fips | 0 | 0 |
| Chainguard | aws-ebs-csi-driver | 0 | 0 |
| Chainguard | aws-ebs-csi-driver-fips | 0 | 0 |
| Chainguard | aws-efs-csi-driver | 0 | 0 |
| Chainguard | aws-efs-csi-driver-fips | 0 | 0 |
| Chainguard | azure-container-networking | 0 | 1.7.4-r3 |
| Chainguard | azure-vnet-cni | 0 | 1.7.9-r0 |
| Chainguard | azuredisk-csi-1.28 | 0 | 0 |
| Chainguard | azuredisk-csi-1.28-compat | 0 | 0 |
| Chainguard | azuredisk-csi-1.29 | 0 | 0 |
| Chainguard | azuredisk-csi-1.29-compat | 0 | 0 |
| Chainguard | azuredisk-csi-1.30 | 0 | 0 |
| Chainguard | azuredisk-csi-1.30-compat | 0 | 0 |
| Chainguard | azuredisk-csi-1.31 | 0 | 0 |
| Chainguard | azuredisk-csi-1.31-compat | 0 | 0 |
| Chainguard | azuredisk-csi-1.32 | 0 | 0 |
| Chainguard | azuredisk-csi-1.32-compat | 0 | 0 |
| Chainguard | azuredisk-csi-fips-1.28 | 0 | 0 |
| Chainguard | azuredisk-csi-fips-1.29 | 0 | 0 |
| Chainguard | azuredisk-csi-fips-1.30 | 0 | 0 |
| Chainguard | azuredisk-csi-fips-1.31 | 0 | 0 |
| Chainguard | azuredisk-csi-fips-1.32 | 0 | 0 |
| Chainguard | azurefile-csi-1.29 | 0 | 0 |
| Chainguard | azurefile-csi-1.29-compat | 0 | 0 |
| Chainguard | azurefile-csi-1.30 | 0 | 0 |
| Chainguard | azurefile-csi-1.30-compat | 0 | 0 |
| Chainguard | azurefile-csi-1.31 | 0 | 0 |
| Chainguard | azurefile-csi-1.31-compat | 0 | 0 |
| Chainguard | azurefile-csi-1.32 | 0 | 0 |
| Chainguard | azurefile-csi-1.32-compat | 0 | 0 |
| Chainguard | azurefile-csi-1.33 | 0 | 1.33.2-r1 |
| Chainguard | azurefile-csi-1.33-compat | 0 | 1.33.2-r1 |
| Chainguard | azurefile-csi-fips-1.29 | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.29-compat | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.30 | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.30-compat | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.31 | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.31-compat | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.32 | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.32-compat | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.33 | 0 | 0 |
| Chainguard | azurefile-csi-fips-1.33-compat | 0 | 0 |
| Chainguard | blob-csi-1.23 | 0 | 0 |
| Chainguard | blob-csi-1.23-compat | 0 | 0 |
| Chainguard | blob-csi-1.24 | 0 | 0 |
| Chainguard | blob-csi-1.24-compat | 0 | 0 |
| Chainguard | blob-csi-1.25 | 0 | 0 |
| Chainguard | blob-csi-1.25-compat | 0 | 0 |
| Chainguard | blob-csi-1.26 | 0 | 0 |
| Chainguard | blob-csi-1.26-compat | 0 | 0 |
| Chainguard | blob-csi-fips-1.23 | 0 | 0 |
| Chainguard | blob-csi-fips-1.23-compat | 0 | 0 |
| Chainguard | blob-csi-fips-1.24 | 0 | 0 |
| Chainguard | blob-csi-fips-1.24-compat | 0 | 0 |
| Chainguard | blob-csi-fips-1.25 | 0 | 0 |
| Chainguard | blob-csi-fips-1.25-compat | 0 | 0 |
| Chainguard | blob-csi-fips-1.26 | 0 | 0 |
| Chainguard | blob-csi-fips-1.26-compat | 0 | 0 |
| Chainguard | calico-3.27 | 0 | 0 |
| Chainguard | calico-3.27-apiserver | 0 | 0 |
| Chainguard | calico-3.27-app-policy | 0 | 0 |
| Chainguard | calico-3.27-calicoctl | 0 | 0 |
| Chainguard | calico-3.27-cni | 0 | 0 |
| Chainguard | calico-3.27-cni-compat | 0 | 0 |
| Chainguard | calico-3.27-felix | 0 | 0 |
| Chainguard | calico-3.27-kube-controllers | 0 | 0 |
| Chainguard | calico-3.27-node | 0 | 0 |
| Chainguard | calico-3.27-pod2daemon | 0 | 0 |
| Chainguard | calico-3.27-pod2daemon-flexvol-compat | 0 | 0 |
| Chainguard | calico-3.27-typha-client | 0 | 0 |
| Chainguard | calico-3.27-typhad | 0 | 0 |
| Chainguard | calico-3.28 | 0 | 0 |
| Chainguard | calico-3.29 | 0 | 0 |
| Chainguard | calico-apiserver-3.27 | 0 | 0 |
| Chainguard | calico-apiserver-3.28 | 0 | 0 |
| Chainguard | calico-apiserver-3.29 | 0 | 0 |
| Chainguard | calico-apiserver-compat-3.27 | 0 | 0 |
| Chainguard | calico-apiserver-compat-3.28 | 0 | 0 |
| Chainguard | calico-apiserver-compat-3.29 | 0 | 0 |
| Chainguard | calico-apiserver-compat-fips-3.27 | 0 | 0 |
| Chainguard | calico-apiserver-fips-3.27 | 0 | 0 |
| Chainguard | calico-apiserver-fips-3.28 | 0 | 0 |
| Chainguard | calico-apiserver-fips-3.29 | 0 | 0 |
| Chainguard | calico-app-policy-3.27 | 0 | 0 |
| Chainguard | calico-app-policy-3.28 | 0 | 0 |
| Chainguard | calico-app-policy-3.29 | 0 | 0 |
| Chainguard | calico-app-policy-fips-3.27 | 0 | 0 |
| Chainguard | calico-app-policy-fips-3.28 | 0 | 0 |
| Chainguard | calico-app-policy-fips-3.29 | 0 | 0 |
| Chainguard | calico-cni-3.27 | 0 | 0 |
| Chainguard | calico-cni-3.28 | 0 | 0 |
| Chainguard | calico-cni-3.29 | 0 | 0 |
| Chainguard | calico-cni-compat-3.27 | 0 | 0 |
| Chainguard | calico-cni-compat-3.28 | 0 | 0 |
| Chainguard | calico-cni-compat-3.29 | 0 | 0 |
| Chainguard | calico-cni-compat-fips-3.27 | 0 | 0 |
| Chainguard | calico-cni-compat-fips-3.28 | 0 | 0 |
| Chainguard | calico-cni-compat-fips-3.29 | 0 | 0 |
| Chainguard | calico-cni-fips-3.27 | 0 | 0 |
| Chainguard | calico-cni-fips-3.28 | 0 | 0 |
| Chainguard | calico-cni-fips-3.29 | 0 | 0 |
| Chainguard | calico-felix-3.27 | 0 | 0 |
| Chainguard | calico-felix-3.28 | 0 | 0 |
| Chainguard | calico-felix-3.29 | 0 | 0 |
| Chainguard | calico-felix-fips-3.27 | 0 | 0 |
| Chainguard | calico-felix-fips-3.28 | 0 | 0 |
| Chainguard | calico-felix-fips-3.29 | 0 | 0 |
| Chainguard | calico-fips-3.27 | 0 | 0 |
| Chainguard | calico-fips-3.28 | 0 | 0 |
| Chainguard | calico-fips-3.29 | 0 | 0 |
| Chainguard | calico-key-cert-provisioner-3.28 | 0 | 0 |
| Chainguard | calico-key-cert-provisioner-3.29 | 0 | 0 |
| Chainguard | calico-key-cert-provisioner-fips-3.28 | 0 | 0 |
| Chainguard | calico-key-cert-provisioner-fips-3.29 | 0 | 0 |
| Chainguard | calico-kube-controllers-3.27 | 0 | 0 |
| Chainguard | calico-kube-controllers-3.28 | 0 | 0 |
| Chainguard | calico-kube-controllers-3.29 | 0 | 0 |
| Chainguard | calico-kube-controllers-fips-3.27 | 0 | 0 |
| Chainguard | calico-kube-controllers-fips-3.28 | 0 | 0 |
| Chainguard | calico-kube-controllers-fips-3.29 | 0 | 0 |
| Chainguard | calico-node-3.27 | 0 | 0 |
| Chainguard | calico-node-3.28 | 0 | 0 |
| Chainguard | calico-node-3.29 | 0 | 0 |
| Chainguard | calico-node-fips-3.27 | 0 | 0 |
| Chainguard | calico-node-fips-3.28 | 0 | 0 |
| Chainguard | calico-node-fips-3.29 | 0 | 0 |
| Chainguard | calico-pod2daemon-3.27 | 0 | 0 |
| Chainguard | calico-pod2daemon-3.28 | 0 | 0 |
| Chainguard | calico-pod2daemon-3.29 | 0 | 0 |
| Chainguard | calico-pod2daemon-fips-3.27 | 0 | 0 |
| Chainguard | calico-pod2daemon-fips-3.28 | 0 | 0 |
| Chainguard | calico-pod2daemon-fips-3.29 | 0 | 0 |
| Chainguard | calico-pod2daemon-flexvol-compat-3.27 | 0 | 0 |
| Chainguard | calico-pod2daemon-flexvol-compat-3.28 | 0 | 0 |
| Chainguard | calico-pod2daemon-flexvol-compat-3.29 | 0 | 0 |
| Chainguard | calico-pod2daemon-flexvol-compat-fips-3.27 | 0 | 0 |
| Chainguard | calico-typha-client-3.27 | 0 | 0 |
| Chainguard | calico-typha-client-3.28 | 0 | 0 |
| Chainguard | calico-typha-client-3.29 | 0 | 0 |
| Chainguard | calico-typha-client-fips-3.27 | 0 | 0 |
| Chainguard | calico-typha-client-fips-3.28 | 0 | 0 |
| Chainguard | calico-typha-client-fips-3.29 | 0 | 0 |
| Chainguard | calico-typhad-3.27 | 0 | 0 |
| Chainguard | calico-typhad-3.28 | 0 | 0 |
| Chainguard | calico-typhad-3.29 | 0 | 0 |
| Chainguard | calico-typhad-fips-3.27 | 0 | 0 |
| Chainguard | calico-typhad-fips-3.28 | 0 | 0 |
| Chainguard | calico-typhad-fips-3.29 | 0 | 0 |
| Chainguard | calicoctl-3.27 | 0 | 0 |
| Chainguard | calicoctl-3.28 | 0 | 0 |
| Chainguard | calicoctl-3.29 | 0 | 0 |
| Chainguard | calicoctl-fips-3.27 | 0 | 0 |
| Chainguard | calicoctl-fips-3.28 | 0 | 0 |
| Chainguard | calicoctl-fips-3.29 | 0 | 0 |
| Chainguard | cluster-autoscaler-1.28 | 0 | 0 |
| Chainguard | cluster-autoscaler-1.28-compat | 0 | 0 |
| Chainguard | cluster-autoscaler-1.29 | 0 | 0 |
| Chainguard | cluster-autoscaler-1.29-compat | 0 | 0 |
Related vulnerabilities
- CVE-2025-13281 A half-blind Server Side Request Forgery (SSRF) vulnerability exists in… Also affects k8s.io/kubernetes
- CVE-2025-5187 A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters… Also affects k8s.io/kubernetes
- CVE-2025-4563 A vulnerability exists in the NodeRestriction admission controller where nodes can bypass… Also affects k8s.io/kubernetes
- CVE-2024-9042 This CVE affects only Windows worker nodes. Also affects k8s.io/kubernetes
- CVE-2025-0426 A security issue was discovered in Kubernetes where a large number of container… Also affects k8s.io/kubernetes
- CVE-2024-10220 The Kubernetes kubelet component allows arbitrary command execution via specially crafted… Also affects k8s.io/kubernetes
- CVE-2024-0793 A flaw was found in kube-controller-manager. Also affects k8s.io/kubernetes
- CVE-2024-5321 A security issue was discovered in Kubernetes clusters with Windows nodes where… Also affects k8s.io/kubernetes