Vulnerability · Published Sep 20, 2021 · Assigned by kubernetes

CVE-2021-25741Symlink Exchange Can Allow Host Filesystem Access

High 8.8

In plain English

A high-severity improper input validation in Kubernetes from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 8.0% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)8.0%top 5.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2021-25741
Debian:13kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2021-25741
Debian:14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2021-25741
Gok8s.io/kubernetes1.19.15GHSA-f5f7-6478-qm6p
Gok8s.io/kubernetes1.20.11GHSA-f5f7-6478-qm6p
Gok8s.io/kubernetes1.21.5GHSA-f5f7-6478-qm6p
Gok8s.io/kubernetes1.22.2GHSA-f5f7-6478-qm6p
Gok8s.io/kubernetes1.19.15, 1.20.11, 1.21.5, 1.22.2GO-2022-0910
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2021-25741
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2021-25741

Affected products (as reported)

VendorProductVersions
Kubernetes Kubernetes unspecified – through 1.19.14unspecified – through 1.20.10unspecified – through 1.21.4unspecified – through 1.22.1

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References