kubectl cp allows symlink directory traversal (Kubernetes Kubernetes)
En bref
- Source
- NVD
- EPSS
- EPSS 2.62 % · centile 85 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- kubernetes
- Statut NVD
- Modified
Description
The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.
Faiblesses (CWE)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | kubernetes |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | NVD · jordan@liggitt.net (Secondary) |
| CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-6qfg-8799-r575 — Kubernetes kubectl cp Vulnerable to Symlink Attack
- GO-2022-0802 — Kubernetes kubectl cp Vulnerable to Symlink Attack in k8s.io/kubernetes
Références européennes
- ENISA EUVD · EUVD-2021-0974
- GCVE · GCVE-0-2019-11251
Avis du CERT-FR
- CERTFR-2022-AVI-591 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.13.0 < 1.13.11cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.14.0 < 1.14.7cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.15.0 < 1.15.4cpe:2.3:a:kubernetes:kubernetes:1.1-1.12:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Kubernetes · Kubernetes | affected prior to 1.13.11 ; affected prior to 1.14.7 ; affected prior to 1.15.4 ; affected 1.1 ; affected 1.2 ; affected 1.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |