Skip to content

Files or Directories Accessible to External Parties in kubernetes

High severity GitHub Reviewed Published Sep 17, 2021 in bottlerocket-os/bottlerocket • Updated Feb 1, 2023

Package

gomod k8s.io/kubernetes (Go)

Affected versions

< 1.19.15
>= 1.20.0, < 1.20.11
>= 1.21.0, < 1.21.5
>= 1.22.0, < 1.22.2

Patched versions

1.19.15
1.20.11
1.21.5
1.22.2

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.

References

@tjkirch tjkirch published to bottlerocket-os/bottlerocket Sep 17, 2021
Published by the National Vulnerability Database Sep 20, 2021
Reviewed Nov 1, 2021
Published to the GitHub Advisory Database Nov 1, 2021
Last updated Feb 1, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CVE ID

CVE-2021-25741

GHSA ID

GHSA-f5f7-6478-qm6p

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.