CVE-2024-32980
KrytyczneStreszczenie
Spin to narzędzie deweloperskie do budowania i uruchamiania aplikacji bezserwerowych opartych na WebAssembly. W wersjach przed 2.4.3, niektóre aplikacje Spin, które używają żądań `self` bez określonego URL authority, mogą być skłonione do wysyłania żądań do dowolnych hostów za pomocą nagłówka HTTP `Host`.
Ocena ryzyka
Organizacja może być narażona na ataki, które wykorzystują podatność do wysyłania żądań do nieautoryzowanych hostów, co może prowadzić do wycieku danych lub innych nieautoryzowanych działań.
Rekomendacja
Zaleca się aktualizację do wersji Spin 2.4.3 lub nowszej, aby usunąć tę podatność oraz przegląd konfiguracji aplikacji w celu zminimalizowania ryzyka.
Oryginalny opis (angielski, źródło NVD)
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.

