CVE-2024-32980
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 9.1 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-610
- Record status
- Deferred
Attack profile CVSS 3.1 · 9.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-32980.md and follow it. Check whether this project is affected by CVE-2024-32980. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
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