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.
Mend Note: After conducting further research, Mend has determined that all versions of kubernetes up to version v1.19.15,v1.20.11,v1.21.5,v1.22.1 are vulnerable to CVE-2021-25741.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2021-25741 - High Severity Vulnerability
Vulnerable Library - github.com/kubernetes/utils-v0.0.0-20220210201930-3a6ce19ff2f9
Non-Kubernetes-specific utility libraries which are consumed by multiple projects.
Library home page: https://proxy.golang.org/github.com/kubernetes/utils/@v/v0.0.0-20220210201930-3a6ce19ff2f9.zip
Dependency Hierarchy: - github.com/gruntwork-io/terratest-v0.40.17 (Root Library) - k8s.io/client-go-v0.24.2 - :x: **github.com/kubernetes/utils-v0.0.0-20220210201930-3a6ce19ff2f9** (Vulnerable Library)
Found in HEAD commit: e49e2f33b77657ce4ab7eac9abebafc4a1fd18ba
Found in base branch: master
Vulnerability Details
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. Mend Note: After conducting further research, Mend has determined that all versions of kubernetes up to version v1.19.15,v1.20.11,v1.21.5,v1.22.1 are vulnerable to CVE-2021-25741.
Publish Date: 2021-09-20
URL: CVE-2021-25741
CVSS 3 Score Details (8.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-f5f7-6478-qm6p
Release Date: 2021-09-20
Fix Resolution: github.com/kubernetes/kubernetes-v1.19.15,v1.20.11,v1.21.5,v1.22.2
Step up your Open Source Security Game with Mend here