Katalog CVE

CVE-2026-47680

ŚrednieCVSS 5.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.46%

Percentyl 37 - wyżej niż 37% wszystkich znanych CVE

Streszczenie

source-controller, operator Kubernetes służący do pozyskiwania artefaktów z zewnętrznych źródeł, zawiera podatność w wersjach 0.0.17 do 1.8.4. Osoba mogąca wpływać na zawartość bucketa (zasobu Bucket) może spowodować zapis danych poza katalog roboczy, a użytkownik z uprawnieniami do tworzenia/aktualizacji zasobów GitRepository może enumerować ścieżki plików na podzie kontrolera (tylko w wersjach 1.6.0+).

Ocena ryzyka

Atakujący może zapisywać pliki w dowolnym miejscu, do którego pod source-controller ma uprawnienia zapisu, co może prowadzić do modyfikacji plików konfiguracyjnych lub innych zasobów w podzie. Dodatkowo, enumeracja ścieżek może ujawnić informacje o strukturze systemu plików, wspomagając dalsze ataki.

Rekomendacja

Należy natychmiast zaktualizować source-controller do wersji 1.8.5 lub nowszej. Jako środek obrony w głąb dla funkcji sparse-checkout, wdrożyć politykę ValidatingAdmissionPolicy (lub Kyverno/OPA Gatekeeper) odrzucającą zasoby GitRepository z wpisami .spec.sparseCheckout zawierającymi '..' lub segmenty ścieżek bezwzględnych.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, OCI, Helm repositories and S3-compatible buckets. In versions 0.0.17 through 1.8.4, an actor with the ability to influence the contents of a bucket referenced by a `Bucket` resource can cause source-controller to write fetched object data to paths outside the per-reconciliation working directory. The corruption surface is bounded by source-controller's own and downstream Flux controllers' digest verification: source-controller verifies stored artifact digests during reconciliation and rebuilds on divergence; consumers (kustomize-controller, helm-controller) verify the digest of fetched artifacts and reject mismatches. These checks prevent a manipulated artifact from reaching the cluster, but an attacker can still write files anywhere the source-controller pod has permission to write. Separately, a user with permission to create or update `GitRepository` resources can cause source-controller to test for the existence of paths outside the cloned repository. Because the result is exposed via the resource's status, this allows limited enumeration of file paths on the controller pod. This surface exists only on source-controller v1.6.0 and later, where the sparse-checkout feature was introduced. This vulnerability was fixed in source-controller v1.8.5. There is no in-product workaround. Users should upgrade to a patched version. As a defense-in-depth measure for the GitRepository sparse-checkout surface, a `ValidatingAdmissionPolicy` (or a third-party policy engine such as Kyverno or OPA Gatekeeper) can be deployed to reject `GitRepository` resources whose `.spec.sparseCheckout` entries contain `..` or absolute path segments.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS