What’s Vulnerable › Vulnerabilities
CVE-2024-32980: Spin contains a potential network sandbox escape for specifically configured Spin applications
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-08 · updated 2026-06-17
- Weakness: CWE-610
Description
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.
Affected products
- fermyon spin: before 2.4.3
References
- https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354
- https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh
- https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354
- https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh
Get alerted when CVE-2024-32980 or the next vulnerability affects your stack