{"id":"CVE-2025-59936","sourceIdentifier":"security-advisories@github.com","published":"2025-09-27T01:15:43.590","lastModified":"2026-10-09T10:10:00.193","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"get-jwks contains fetch utils for JWKS keys. In versions prior to 11.0.2, a vulnerability in get-jwks can lead to cache poisoning in the JWKS key-fetching mechanism. When the iss (issuer) claim is validated only after keys are retrieved from the cache, it is possible for cached keys from an unexpected issuer to be reused, resulting in a bypass of issuer validation. This design flaw enables a potential attack where a malicious actor crafts a pair of JWTs, the first one ensuring that a chosen public key is fetched and stored in the shared JWKS cache, and the second one leveraging that cached key to pass signature validation for a targeted iss value. The vulnerability will work only if the iss validation is done after the use of get-jwks for keys retrieval. This issue has been patched in version 11.0.2."},{"lang":"es","value":"get-jwks contiene utilidades de obtención para claves JWKS. En versiones anteriores a la 11.0.2, una vulnerabilidad en get-jwks puede conducir al envenenamiento de caché en el mecanismo de obtención de claves JWKS. Cuando la declaración 'iss' (emisor) se valida solo después de que las claves se recuperan de la caché, es posible que claves almacenadas en caché de un emisor inesperado sean reutilizadas, lo que resulta en una omisión de la validación del emisor. Este fallo de diseño permite un ataque potencial donde un actor malicioso crea un par de JWTs, el primero asegurando que una clave pública elegida sea obtenida y almacenada en la caché JWKS compartida, y el segundo aprovechando esa clave almacenada en caché para pasar la validación de firma para un valor 'iss' objetivo. La vulnerabilidad funcionará solo si la validación de 'iss' se realiza después del uso de get-jwks para la recuperación de claves. Este problema ha sido parcheado en la versión 11.0.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"nearform","product":"get-jwks","versions":[{"version":"< 11.0.2","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":5.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-09-29T14:54:57.310485Z","id":"CVE-2025-59936","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-116"}]}],"references":[{"url":"https://github.com/nearform/get-jwks/commit/1706a177a80a1759fe68e3339dc5a219ce03ddb9","source":"security-advisories@github.com"},{"url":"https://github.com/nearform/get-jwks/security/advisories/GHSA-qc2q-qhf3-235m","source":"security-advisories@github.com"}]}