Katalog CVE

CVE-2026-100837

NiskieCVSS 3.7
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.21%

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

Streszczenie

Contrast (Edgeless Systems) przed wersją 1.21.0 wykonuje niedokotwiczoną kontrolę sufiksu przy wyborze konfiguracji per-rejestr w imagepullerze. Config.registryFor usuwa pojedynczą końcową kropkę i używa strings.HasSuffix(hostname, fqdn) bez wymagania granicy etykiety DNS, więc wpis rejestru taki jak [registries."ghcr.io."] stosuje się także do hostów kończących się tym ciągiem bajtów, w tym domen atakującego jak evilghcr.io. Przy pobieraniu obrazu z takiej domeny imagepuller wysyła skonfigurowany nagłówek Authorization, ufa niestandardowemu CA, podąża za skonfigurowanym mirrorem i honoruje insecure-skip-verify. Integralność obrazu nie jest naruszona, bo bajty obrazu są przypięte skrótem i walidowane po pobraniu. Konfiguracje z wiodącą kropką nie są dotknięte.

Ocena ryzyka

Atakujący może zarejestrować domenę-siostrę i przechwycić dane uwierzytelniające rejestru (basic auth, token rejestru lub tożsamości) oraz osłabić weryfikację TLS dla swojego hosta.

Rekomendacja

Zaktualizuj Contrast do wersji 1.21.0 lub nowszej; do tego czasu używaj wpisów rejestrów z wiodącą kropką i unikaj insecure-skip-verify.

Inne podatności w Contrast

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

Contrast (Edgeless Systems) before 1.21.0 performs unanchored suffix matching when selecting per-registry configuration in the imagepuller. Config.registryFor strips a single trailing dot and then uses strings.HasSuffix(hostname, fqdn) without requiring a DNS label boundary, so a registry entry such as [registries."ghcr.io."] is also applied to any host whose name merely ends in that byte sequence, including attacker-registered domains such as evilghcr.io. When an image or layer is pulled from such a sibling domain, the imagepuller sends the configured Authorization header (basic auth, registry token, or identity token), trusts the configured custom CA bundle, follows the configured mirror, and honours insecure-skip-verify (disabling TLS verification) for that host. Image integrity is not affected, as image bytes remain pinned by digest in the policy and are validated after the pull. Configurations that use a leading dot (e.g., [registries.".example.registry"]) are unaffected.

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