CVE-2021-25741
JSON

8.8high

Symlink Exchange Can Allow Host Filesystem Access

Severity
8.8high CVSS:3.1 by kubernetes
Exploit likelihood
7.96% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
kubernetes
Also known as
GHSA-f5f7-6478-qm6pGO-2022-0910

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

Product or packageVersionsReported by
Kubernetes Kubernetesfrom unspecified up to 1.19.14, from unspecified up to 1.20.10, from unspecified up to 1.21.4, from unspecified up to 1.22.1, up to 1.19.14, from 1.20.0 up to 1.20.10, from 1.21.0 up to 1.21.4, from 1.22.0 up to 1.22.1CVE List, NVD
k8s.io/kubernetes (Go)before 1.19.15, from 1.20.0 before 1.20.11, from 1.21.0 before 1.21.5, from 1.22.0 before 1.22.2GitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

CWE-20CWE-552

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes

NVD (es)

Se ha detectado un problema de seguridad en Kubernetes en el que un usuario puede ser capaz de crear un contenedor con montajes de volumen de sub-ruta para acceder a archivos y directorios fuera del volumen, incluso en el sistema de archivos del host

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2021-25741 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-f5f7-6478-qm6p changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0910 changed 2026-02-04CC-BY-4.0
NVDCVE-2021-25741 changed 2026-06-17Public domain