{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-25741","id":"CVE-2021-25741","title":"Symlink Exchange Can Allow Host Filesystem Access","description":"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.","descriptionLong":"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.","published":"2021-09-20T17:05:21.097Z","updated":"2026-10-24T10:51:24.443525870Z","reserved":"2021-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"kubernetes","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"kubernetes"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"kubernetes"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"liggitt.net"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Kubernetes"],"affectedProducts":[{"vendor":"Kubernetes","product":"Kubernetes","defaultStatus":null,"versions":[{"lessThanOrEqual":"1.19.14","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"1.20.10","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"1.21.4","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"1.22.1","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":["<1.19.15",">=1.20.0 <1.20.11",">=1.21.0 <1.21.5",">=1.22.0 <1.22.2"],"fixed":["1.19.15","1.20.11","1.21.5","1.22.2"],"advisory":"GHSA-f5f7-6478-qm6p"}],"cwes":["CWE-20","CWE-552"],"aliases":["GHSA-f5f7-6478-qm6p","GO-2022-0910"],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s","tags":["x_refsource_MISC","x_transferred","Mailing List","Mitigation","article","web"]},{"url":"https://github.com/kubernetes/kubernetes/issues/104980","tags":["x_refsource_MISC","x_transferred","Mitigation","Third Party Advisory","report","web"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p","tags":["web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25741","tags":["advisory"]},{"url":"https://github.com/kubernetes/kubernetes","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0006","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.07964,"epssPercentile":0.94863,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-25741","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25741","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-25741","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f5f7-6478-qm6p","ok":true,"note":"GHSA-f5f7-6478-qm6p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25741","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["kubernetes"],"critical":[],"attention":null}