Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.6CVE-2026-59697

CVE-2026-59697: IMDSv2 metadata token request follows HTTP redirects in ex_aws

ex-aws ex_aws

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-59697: vulnerabilidad de severidad alta (CVSS 7.6) en ex-aws ex_aws.

Qué ocurre

Descripción original de la fuente (en inglés): Server-Side Request Forgery (SSRF) vulnerability in ex_aws (instance metadata token provider). This vulnerability is associated with program files lib/ex_aws/instance_meta_token_provider.ex and program routines ExAws.InstanceMetaTokenProvider.request_token/1 and ExAws.InstanceMetaTokenProvider.get/1. ex_aws requests its IMDSv2 session token from the link-local metadata endpoint (http://169.254.169.254/latest/api/token) with HTTP redirect following enabled. Because the token request follows 3xx redirects and does not restrict the redirect target to the link-local range, an attacker who can influence the response to the metadata request (for example an on-segment neighbor spoofing the link-local address) can answer with a redirect to an arbitrary host. The library follows the redirect and accepts the arbitrary host's response body as the IMDSv2 session token, caching it and sending it as the x-aws-ec2-metadata-token header on every subsequent metadata and credential request. This issue affects ex_aws: from 2.3.0 before 2.8.0.

Por qué importa

Severidad alta, CVSS 7.6.

Productos y versiones afectados

ex-aws ex_aws >= 2.3.0, < 2.8.0; ex-aws ex_aws >= 4d7923c16f613cc2bade2ed325d444bba0bc7234, < 9fcc3605c7a0ecf8e205a72c50de3ced72befed0

ProductoVersionesCorregido en
ex-aws ex_aws>= 2.3.0, < 2.8.0—
ex-aws ex_aws>= 4d7923c16f613cc2bade2ed325d444bba0bc7234, < 9fcc3605c7a0ecf8e205a72c50de3ced72befed0—

Acción recomendada por la fuente

Consultá las referencias oficiales para conocer la corrección o mitigación.

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-918

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.