CVE-2024-32980

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-32980
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32980.json
Aliases
Published
2024-05-08T15:15:10Z
Modified
2024-05-14T13:11:14.568570Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/fermyon/spin

Affected ranges

Type
GIT
Repo
https://github.com/fermyon/spin
Events
Introduced
0The exact introduced commit is unknown
Fixed

Affected versions

sdk/go/v0.*

sdk/go/v0.10.0
sdk/go/v0.2.0
sdk/go/v0.3.0
sdk/go/v0.4.0
sdk/go/v0.5.0
sdk/go/v0.6.0
sdk/go/v0.7.0
sdk/go/v0.7.1
sdk/go/v0.8.0
sdk/go/v0.9.0

sdk/go/v1.*

sdk/go/v1.0.0-rc.1
sdk/go/v1.1.0
sdk/go/v1.2.0
sdk/go/v1.3.0

spin/templates/v0.*

spin/templates/v0.10
spin/templates/v0.3
spin/templates/v0.4
spin/templates/v0.5
spin/templates/v0.6
spin/templates/v0.7
spin/templates/v0.8
spin/templates/v0.9

spin/templates/v1.*

spin/templates/v1.0
spin/templates/v1.1
spin/templates/v1.3
spin/templates/v1.5

v0.*

v0.1.0
v0.1.0-rc.1
v0.1.0-rc.2
v0.1.0-rc.3
v0.1.0-rc.4
v0.10.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.7.1
v0.8.0
v0.9.0

v1.*

v1.0.0-rc.1
v1.1.0
v1.2.0
v1.3.0