Insufficient verification of data authenticity in distribution - CVE-2025-24976
Published: February 11, 2025
Vulnerability details
The vulnerability allows a remote attacker to inject an untrusted signing key in a JWT.
The vulnerability exists due to the way the JWK verification is performed. When a JWT contains a JWK header without a certificate chain, the code only checks if the KeyID (kid) matches one of the trusted keys, but doesn't verify that the actual key material matches. A remote attacker can pass arbitrary data to the application signed with an untrusted JWT.
Affected software
Red Hat OpenShift Container Platform
How to mitigate CVE-2025-24976
Red Hat OpenShift Container Platform - addressed in versions 4.17.20, 4.18.4