{"id":"CVE-2021-25741","published":"2021-09-20T17:05:21Z","modified":"2024-09-16T23:26:06Z","title":"Symlink Exchange Can Allow Host Filesystem Access","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07964,"percentile":0.94878,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubernetes/kubernetes/issues/104980","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0006/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":30.1,"factors":[{"name":"EPSS percentile","points":18.98},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2022-01-19","earliestUrl":"https://github.com/Betep0k/CVE-2021-25741","repos":[{"name":"Betep0k/CVE-2021-25741","url":"https://github.com/Betep0k/CVE-2021-25741","stars":30,"created":"2022-01-19"},{"name":"cdxiaodong/CVE-2021-25741","url":"https://github.com/cdxiaodong/CVE-2021-25741","stars":0,"created":"2023-10-19"},{"name":"Glutenfree69/ZigRaceExploit","url":"https://github.com/Glutenfree69/ZigRaceExploit","stars":0,"created":"2026-03-17"}]},"first":{"date":"2022-01-19","source":"PoC-in-GitHub","url":"https://github.com/Betep0k/CVE-2021-25741"},"provenance":"source"},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[">= unspecified, <= 1.19.14",">= unspecified, <= 1.20.10",">= unspecified, <= 1.21.4",">= unspecified, <= 1.22.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-20T13:25:58.469004Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":["<1.19.15",">=1.20.0, <1.20.11",">=1.21.0, <1.21.5",">=1.22.0, <1.22.2"],"patched":["1.19.15","1.20.11","1.21.5","1.22.2"],"from":["GHSA-f5f7-6478-qm6p","GO-2022-0910"],"provenance":"source"}],"summary":{"text":"The flaw is in Kubernetes, where subpath volume mounts can be abused so that a container gains access to files and directories outside its volume, including the host filesystem. An attacker who holds the ability to create a container with such a subpath mount, which requires low privileges and no user interaction over the network, can reach host files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:34:24Z"},"euvd":{"id":"EUVD-2021-2339","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-25735","published":"2021-09-06","fixed":"1.20.6","kev":false},{"cve":"CVE-2021-25736","published":"2023-10-30","fixed":"1.21.0","kev":false},{"cve":"CVE-2021-25737","published":"2021-09-06","fixed":"1.21.1","kev":false,"link":{"from":"CVE-2021-25737","to":"CVE-2021-25741","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.19.11","toFixed":"1.19.15","daysApart":14}]}},{"cve":"CVE-2021-25741","published":"2021-09-20","fixed":"1.22.2","kev":false},{"cve":"CVE-2022-3162","published":"2023-03-01","fixed":"1.25.4","kev":false,"link":{"from":"CVE-2021-25741","to":"CVE-2022-3162","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.22.2","toFixed":"1.22.16","daysApart":527}]}},{"cve":"CVE-2022-3294","published":"2023-03-01","fixed":"1.25.4","kev":false,"link":{"from":"CVE-2021-25741","to":"CVE-2022-3294","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.22.2","toFixed":"1.22.16","daysApart":527}]}},{"cve":"CVE-2021-25743","published":"2022-01-07","fixed":"1.26.0-alpha.3","kev":false}],"package":"Go:k8s.io/kubernetes"}}