{"answers":{"affected":"8 open source packages ship an affected version, including github.com/ratify-project/ratify and github.com/deislabs/ratify.","exploited":"There is no known exploitation of CVE-2025-27403 in the wild and no public exploit code.","fix":"Upgrade github.com/ratify-project/ratify to a fixed version for your release line: 1.2.3 or 1.3.2.","what":"CVE-2025-27403 is a high-severity vulnerability in ratify-project ratify, published on 11 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-27403 and fix it if it is affected.\n\nWhat it is: CVE-2025-27403 is a high-severity vulnerability in ratify-project ratify, published on 11 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-27403 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ratify-project/ratify (Go): affected all versions; fixed in 1.2.3\n- github.com/ratify-project/ratify (Go): affected all versions; fixed in 1.2.3\n- github.com/ratify-project/ratify (Go): affected from 1.3.0; fixed in 1.3.2\n- github.com/ratify-project/ratify (Go): affected from 1.3.0; fixed in 1.3.2\n- github.com/ratify-project/ratify (Go): affected from 1.3.0; fixed in 1.3.2\n- github.com/deislabs/ratify (Go): affected all versions; fixed in 1.2.3\n- github.com/deislabs/ratify (Go): affected all versions; fixed in 1.2.3\n- github.com/deislabs/ratify (Go): affected all versions; fixed in 1.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-27403/ (Markdown: https://insights.sbomify.com/CVE-2025-27403/index.md)","id":"CVE-2025-27403","markdown":"https://insights.sbomify.com/CVE-2025-27403/index.md","name":"CVE-2025-27403","record":{"aliases":["GHSA-44f7-5fj5-h4px","GO-2025-3511"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes verification engine","requires_auth":"none","summary":"Attackers can leak Azure authentication tokens to malicious registries if Ratify is configured with Azure providers, allowing potential abuse of ACR access.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.2,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ratify Azure authentication providers can leak authentication tokens to non-Azure container registries","id":"CVE-2025-27403","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":8,"n_references":3,"next":{"headline":"Icinga Web 2 DOM-based XSS vulnerability","id":"CVE-2025-27404"},"packages":[{"ecosystem":"Go","fixed":["1.2.3"],"introduced":["0"],"last_affected":[],"package":"github.com/deislabs/ratify","purl":null,"source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.2.3"],"introduced":["0"],"last_affected":[],"package":"github.com/deislabs/ratify","purl":"pkg:golang/github.com/deislabs/ratify","source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.2.3"],"introduced":["0"],"last_affected":[],"package":"github.com/deislabs/ratify","purl":"pkg:golang/github.com/deislabs/ratify","source":"GO-2025-3511"},{"ecosystem":"Go","fixed":["1.2.3"],"introduced":["0"],"last_affected":[],"package":"github.com/ratify-project/ratify","purl":null,"source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.2.3"],"introduced":["0"],"last_affected":[],"package":"github.com/ratify-project/ratify","purl":"pkg:golang/github.com/ratify-project/ratify","source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["1.3.0"],"last_affected":[],"package":"github.com/ratify-project/ratify","purl":null,"source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["1.3.0"],"last_affected":[],"package":"github.com/ratify-project/ratify","purl":"pkg:golang/github.com/ratify-project/ratify","source":"GHSA-44f7-5fj5-h4px"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["1.3.0"],"last_affected":[],"package":"github.com/ratify-project/ratify","purl":"pkg:golang/github.com/ratify-project/ratify","source":"GO-2025-3511"}],"prev":{"headline":"Tuleap is missing CSRF protections on tracker fields administrative operations","id":"CVE-2025-27402"},"products":["ratify"],"published":"2025-03-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-11","vendors":["ratify-project"]},"summary":"Attackers can leak Azure authentication tokens to malicious registries if Ratify is configured with Azure providers, allowing potential abuse of ACR access.","url":"https://insights.sbomify.com/CVE-2025-27403/"}