{"id":"CVE-2025-27403","published":"2025-03-11T14:16:10Z","modified":"2025-03-11T14:43:13Z","title":"Ratify Azure authentication providers can leak authentication tokens to non-Azure container registries","vendor":"ratify-project","product":"ratify","tier":"tail","description":{"text":"Ratify is a verification engine as a binary executable and on Kubernetes which enables verification of artifact security metadata and admits for deployment only those that comply with policies the user creates. In a Kubernetes environment, Ratify can be configured to authenticate to a private Azure Container Registry (ACR). The Azure workload identity and Azure managed identity authentication providers are configured in this setup. Users that configure a private ACR to be used with the Azure authentication providers may be impacted by a vulnerability that exists in versions prior to 1.2.3 and 1.3.2. Both Azure authentication providers attempt to exchange an Entra ID (EID) token for an ACR refresh token. However, Ratify’s Azure authentication providers did not verify that the target registry is an ACR. This could have led to the EID token being presented to a non-ACR registry during token exchange. EID tokens with ACR access can potentially be extracted and abused if a user workload contains an image reference to a malicious registry. As of versions 1.2.3 and 1.3.2, the Azure workload identity and Azure managed identity authentication providers are updated to add new validation prior to EID token exchange. Validation relies upon registry domain validation against a pre-configured list of well-known ACR endpoints. EID token exchange will be executed only if at least one of the configured well-known domain suffixes (wildcard support included) matches the registry domain of the image reference.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00481,"percentile":0.42425,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/ratify-project/ratify/security/advisories/GHSA-44f7-5fj5-h4px","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ratify-project/ratify/commit/0ec0c08490e3d672ae64b1a220c90d5484f1c93f","tags":["x_refsource_MISC"]},{"url":"https://github.com/ratify-project/ratify/commit/84c7c48fa76bb9a1c9583635d1e90bc25b1a546c","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.48},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"ratify-project","affectedVersions":[{"vendor":"ratify-project","product":"ratify","versions":["< 1.2.3",">= 1.3.0, < 1.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-11T14:38:16.194306Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ratify-project/ratify","vulnerableRanges":["<1.2.3",">=1.3.0, <1.3.2"],"patched":["1.2.3","1.3.2"],"from":["GHSA-44f7-5fj5-h4px","GO-2025-3511"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/deislabs/ratify","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"from":["GHSA-44f7-5fj5-h4px","GO-2025-3511"],"provenance":"source"}],"summary":{"text":"Ratify's Azure workload identity and Azure managed identity authentication providers, used with a private Azure Container Registry on Kubernetes, failed to verify that the target registry was actually an ACR, so an Entra ID token could be sent to a non-ACR registry during token exchange. An attacker who can get a user workload to reference an image from a malicious registry can extract and abuse the Entra ID token, provided the user must trigger the image pull and the victim has configured Ratify with these providers against a private ACR.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:37Z"},"euvd":{"id":"EUVD-2025-7771","exploited":false,"provenance":"source"}}