gsd-2021-25741
Vulnerability from gsd
Modified
2023-12-13 01:23
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2021-25741",
    "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 \u0026 directories outside of the volume, including on the host filesystem.",
    "id": "GSD-2021-25741",
    "references": [
      "https://www.suse.com/security/cve/CVE-2021-25741.html",
      "https://access.redhat.com/errata/RHSA-2021:3646",
      "https://access.redhat.com/errata/RHSA-2021:3642",
      "https://access.redhat.com/errata/RHSA-2021:3635",
      "https://access.redhat.com/errata/RHSA-2021:3631",
      "https://security.archlinux.org/CVE-2021-25741",
      "https://linux.oracle.com/cve/CVE-2021-25741.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-25741"
      ],
      "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 \u0026 directories outside of the volume, including on the host filesystem.",
      "id": "GSD-2021-25741",
      "modified": "2023-12-13T01:23:21.826611Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@kubernetes.io",
        "DATE_PUBLIC": "2021-09-15T121:15:00.000Z",
        "ID": "CVE-2021-25741",
        "STATE": "PUBLIC",
        "TITLE": "Symlink Exchange Can Allow Host Filesystem Access"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Kubernetes",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_value": "1.19.14"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "1.20.10"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "1.21.4"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "1.22.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Kubernetes"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "Fabricio Voznika \u0026 Mark Wolters"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files \u0026 directories outside of the volume, including on the host filesystem."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-20: Improper Input Validation"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s",
            "refsource": "MISC",
            "url": "https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s"
          },
          {
            "name": "https://github.com/kubernetes/kubernetes/issues/104980",
            "refsource": "MISC",
            "url": "https://github.com/kubernetes/kubernetes/issues/104980"
          },
          {
            "name": "https://security.netapp.com/advisory/ntap-20211008-0006/",
            "refsource": "CONFIRM",
            "url": "https://security.netapp.com/advisory/ntap-20211008-0006/"
          }
        ]
      },
      "source": {
        "defect": [
          "https://github.com/kubernetes/kubernetes/issues/104980"
        ],
        "discovery": "EXTERNAL"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv1.19.15 || \u003e=v1.20.0 \u003cv1.20.11 || \u003e=v1.21.0 \u003cv1.21.5 || \u003e=v1.22.0 \u003cv1.22.2",
          "affected_versions": "All versions up to 1.19.14, all versions starting from 1.20.0 up to 1.20.10, all versions starting from 1.21.0 up to 1.21.4, all versions starting from 1.22.0 up to 1.22.1",
          "cvss_v2": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2021-09-29",
          "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 \u0026 directories outside of the volume, including on the host filesystem.",
          "fixed_versions": [
            "v1.22.2",
            "v1.21.5",
            "v1.20.11",
            "v1.19.15"
          ],
          "identifier": "CVE-2021-25741",
          "identifiers": [
            "CVE-2021-25741"
          ],
          "not_impacted": "All versions starting from 1.19.15 before 1.20.0, all versions starting from 1.20.10 before 1.21.0, all versions starting from 1.21.4 before 1.22.0, all versions starting from 1.22.2",
          "package_slug": "go/github.com/kubernetes/kubelet",
          "pubdate": "2021-09-20",
          "solution": "Upgrade to version 1.19.15, 1.20.11, 1.21.5, 1.22.2 or above.",
          "title": "Files or Directories Accessible to External Parties",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25741"
          ],
          "uuid": "57f9752e-d1dd-4c8d-8041-670e5c49cb1d",
          "versions": [
            {
              "commit": {
                "sha": "813e574ae28f51d8fa7745338022f4b9623827bb",
                "tags": [
                  "kubernetes-1.20.0"
                ],
                "timestamp": "20201208213757"
              },
              "number": "v1.20.0"
            },
            {
              "commit": {
                "sha": "44f4b3ca5bc19f25c8cd6128ffbe0a4cf1a2f174",
                "tags": [
                  "kubernetes-1.21.0"
                ],
                "timestamp": "20210408195821"
              },
              "number": "v1.21.0"
            },
            {
              "commit": {
                "sha": "9fcdc6aed93321bbda41f85923e7446b930cf287",
                "tags": [
                  "kubernetes-1.22.0"
                ],
                "timestamp": "20210804204041"
              },
              "number": "v1.22.0"
            },
            {
              "commit": {
                "sha": "613092983332adca3828b06e2d856ebda98e64c1",
                "tags": [
                  "kubernetes-1.19.14"
                ],
                "timestamp": "20210812010820"
              },
              "number": "v1.19.14"
            },
            {
              "commit": {
                "sha": "327d7d5f3f19f5a1fa1f422db819430ec3106fa5",
                "tags": [
                  "kubernetes-1.20.10"
                ],
                "timestamp": "20210812010904"
              },
              "number": "v1.20.10"
            },
            {
              "commit": {
                "sha": "538de5d7d721ec76f1f4edd61110b049318934b7",
                "tags": [
                  "kubernetes-1.21.4"
                ],
                "timestamp": "20210812010947"
              },
              "number": "v1.21.4"
            },
            {
              "commit": {
                "sha": "a5439c02278dddbdef51961133f23527ece8db5d",
                "tags": [
                  "kubernetes-1.22.1"
                ],
                "timestamp": "20210819204512"
              },
              "number": "v1.22.1"
            }
          ]
        },
        {
          "affected_range": "\u003c1.19.15||\u003e=1.20.0 \u003c1.20.11||\u003e=1.21.0 \u003c1.21.5||\u003e=1.22.0 \u003c1.22.2",
          "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",
          "cvss_v2": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-552",
            "CWE-937"
          ],
          "date": "2021-11-01",
          "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 \u0026 directories outside of the volume, including on the host filesystem.",
          "fixed_versions": [
            "1.19.15",
            "1.20.11",
            "1.21.5",
            "1.22.2"
          ],
          "identifier": "CVE-2021-25741",
          "identifiers": [
            "GHSA-f5f7-6478-qm6p",
            "CVE-2021-25741"
          ],
          "not_impacted": "All versions starting from 1.19.15 before 1.20.0, all versions starting from 1.20.11 before 1.21.0, all versions starting from 1.21.5 before 1.22.0, all versions starting from 1.22.2",
          "package_slug": "go/k8s.io/kubernetes",
          "pubdate": "2021-11-01",
          "solution": "Upgrade to versions 1.19.15, 1.20.11, 1.21.5, 1.22.2 or above.",
          "title": "Files or Directories Accessible to External Parties",
          "urls": [
            "https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p",
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25741",
            "https://github.com/kubernetes/kubernetes/issues/104980",
            "https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s",
            "https://security.netapp.com/advisory/ntap-20211008-0006/",
            "https://github.com/advisories/GHSA-f5f7-6478-qm6p"
          ],
          "uuid": "44f58c02-6eca-436e-afdf-92cb4c7ad69f"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.19.14",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.20.10",
                "versionStartIncluding": "1.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.21.4",
                "versionStartIncluding": "1.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.22.1",
                "versionStartIncluding": "1.22.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@kubernetes.io",
          "ID": "CVE-2021-25741"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files \u0026 directories outside of the volume, including on the host filesystem."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-552"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "N/A",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Mitigation"
              ],
              "url": "https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s"
            },
            {
              "name": "N/A",
              "refsource": "CONFIRM",
              "tags": [
                "Mitigation",
                "Third Party Advisory"
              ],
              "url": "https://github.com/kubernetes/kubernetes/issues/104980"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20211008-0006/",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.netapp.com/advisory/ntap-20211008-0006/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.0,
          "impactScore": 4.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.2
        }
      },
      "lastModifiedDate": "2021-11-30T22:42Z",
      "publishedDate": "2021-09-20T17:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.