{"id":"CVE-2024-32980","published":"2024-05-08T14:32:09Z","modified":"2024-08-02T02:27:53Z","title":"Spin contains a potential network sandbox escape for specifically configured Spin applications","vendor":"fermyon","product":"spin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00485,"percentile":0.42676,"provenance":"source"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"references":[{"url":"https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.54},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"fermyon","affectedVersions":[{"vendor":"fermyon","product":"spin","versions":["< 2.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T17:22:02.566817Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"spin-sdk","vulnerableRanges":["<2.4.3"],"patched":["2.4.3"],"from":["GHSA-f3h7-gpjj-wcvh"],"provenance":"source"}],"summary":{"text":"Spin, the WebAssembly serverless developer tool from Fermyon, has a flaw in how it handles outbound self requests from applications that do not specify a URL authority. Exploitation requires a deployment that routes requests by URL rather than the Host header while leaving the Host header intact, and an application component whose allow_outbound_hosts includes \"self\" and which makes an outbound request lacking a hostname or port, in which case an attacker reachable over the network can send a crafted Host header to direct those requests to arbitrary hosts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:39Z"},"euvd":{"id":"EUVD-2024-1586","exploited":false,"provenance":"source"}}