{"id":"CVE-2024-32980","state":"PUBLISHED","title":"Spin contains a potential network sandbox escape for specifically configured Spin applications","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.","publishedAt":"2024-05-08T14:32:09.059Z","updatedAt":"2024-08-02T02:27:53.504Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["fermyon spin"],"affected":[{"vendor":"fermyon","product":"spin","versions":[{"version":"< 2.4.3","status":"affected"}]}],"references":["https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354"],"weaknesses":["CWE-610"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32980.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32980","state":"PUBLISHED","datePublished":"2024-05-08T14:32:09.059Z","dateUpdated":"2024-08-02T02:27:53.504Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-22T15:14:59.166Z"},"containers":{"cna":{"title":"Spin contains a potential network sandbox escape for specifically configured Spin applications","descriptions":[{"lang":"en","value":"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":[{"vendor":"fermyon","product":"spin","versions":[{"version":"< 2.4.3","status":"affected"}]}],"references":[{"url":"https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","name":"https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354","name":"https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-610","lang":"en","description":"CWE-610: Externally Controlled Reference to a Resource in Another Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-08T14:32:09.059Z"},"source":{"advisory":"GHSA-f3h7-gpjj-wcvh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:22:02.566817Z","id":"CVE-2024-32980","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:22:32.670Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","name":"https://github.com/fermyon/spin/security/advisories/GHSA-f3h7-gpjj-wcvh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354","name":"https://github.com/fermyon/spin/commit/b3db535c9edb72278d4db3a201f0ed214e561354","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:27:53.504Z"}}]}}}