CVE-2025-27403

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-27403
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27403.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-27403
Aliases
Published
2025-03-11T15:15:45Z
Modified
2025-03-13T15:25:54.085863Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ratify-project/ratify

Affected ranges

Type
GIT
Repo
https://github.com/ratify-project/ratify
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0-alpha.1
v0.1.2-alpha.1
v0.1.3-alpha1
v0.1.4-alpha.1

v1.*

v1.0.0
v1.0.0-alpha.1
v1.0.0-alpha.2
v1.0.0-alpha.3
v1.0.0-beta.1
v1.0.0-beta.2
v1.0.0-rc.2
v1.0.0-rc.3
v1.0.0-rc.4
v1.0.0-rc.5
v1.0.0-rc.7
v1.0.0-rc.8
v1.1.0
v1.2.0
v1.2.0-rc.1
v1.2.1
v1.2.2
v1.3.0
v1.3.1