CVE-2024-32980

Spin is the developer tool for building and running serverless applications powered by WebAssembly. Prior to 2.4.3, some specifically configured Spin applications that use `self` requests without a specified URL authority can be induced to make requests to arbitrary hosts via the `Host` HTTP header. The following conditions need to be met for an application to be vulnerable: 1. The environment Spin is deployed in routes requests to the Spin runtime based on the request URL instead of the `Host` header, and leaves the `Host` header set to its original value; 2. The Spin application's component handling the incoming request is configured with an `allow_outbound_hosts` list containing `"self"`; and 3. In reaction to an incoming request, the component makes an outbound request whose URL doesn't include the hostname/port. Spin 2.4.3 has been released to fix this issue.
Configurations

No configuration.

History

21 Nov 2024, 09:16

Type Values Removed Values Added
References () https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354 - () https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354 -
References () https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh - () https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh -
Summary
  • (es) Spin es la herramienta de desarrollo para crear y ejecutar aplicaciones sin servidor impulsadas por WebAssembly. Antes de 2.4.3, algunas aplicaciones Spin configuradas específicamente que usan solicitudes "automáticas" sin una autoridad de URL especificada pueden ser inducidas a realizar solicitudes a hosts arbitrarios a través del encabezado HTTP "Host". Se deben cumplir las siguientes condiciones para que una aplicación sea vulnerable: 1. El entorno Spin se implementa en rutas de solicitudes al tiempo de ejecución de Spin según la URL de solicitud en lugar del encabezado "Host", y deja el encabezado "Host" configurado en su valor original; 2. El componente de la aplicación Spin que maneja la solicitud entrante está configurado con una lista `allow_outbound_hosts` que contiene `"self"`; y 3. En reacción a una solicitud entrante, el componente realiza una solicitud saliente cuya URL no incluye el nombre de host/puerto. Se lanzó Spin 2.4.3 para solucionar este problema.

08 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-08 15:15

Updated : 2024-11-21 09:16


NVD link : CVE-2024-32980

Mitre link : CVE-2024-32980

CVE.ORG link : CVE-2024-32980


JSON object : View

Products Affected

No product.

CWE
CWE-610

Externally Controlled Reference to a Resource in Another Sphere