Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/kubernetes
  4. ›
  5. CVE-2021-25741

CVE-2021-25741: Files or Directories Accessible to External Parties

November 1, 2021

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

  • github.com/advisories/GHSA-f5f7-6478-qm6p
  • github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p
  • github.com/kubernetes/kubernetes/issues/104980
  • groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s
  • nvd.nist.gov/vuln/detail/CVE-2021-25741
  • security.netapp.com/advisory/ntap-20211008-0006/

Code Behaviors & Features

Detect and mitigate CVE-2021-25741 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.19.15, all versions starting from 1.20.0 before 1.20.11, all versions starting from 1.21.0 before 1.21.5, all versions starting from 1.22.0 before 1.22.2

Fixed versions

  • 1.19.15
  • 1.20.11
  • 1.21.5
  • 1.22.2

Solution

Upgrade to versions 1.19.15, 1.20.11, 1.21.5, 1.22.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

go/k8s.io/kubernetes/CVE-2021-25741.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.