Security restrictions bypass in Kubernetes - CVE-2021-25741

 

Security restrictions bypass in Kubernetes - CVE-2021-25741

Published: September 28, 2021 / Updated: January 19, 2022


Vulnerability identifier: #VU56902
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2021-25741
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Kubernetes
Affected software:
Kubernetes

Detailed vulnerability description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to application does not properly impose security restrictions by allowing hostPath-like access without use of the hostPath feature. A remote user can create a container with subpath volume mounts to access files and directories outside of the volume, including on the host filesystem.


How to mitigate CVE-2021-25741

Install updates from vendor's website.

Sources