Skip to main content
Menu
Advisories

wasi-http: Guests can add conflicting content lengths to messages

GHSA-R8XH-CGF7-392JPublished Updated GitHub

Description

Guests can make the host send HTTP requests with multiple, conflicting content-length headers. This could be a vector for request-smuggling attacks when handled by servers or intermediaries which do not treat this condition as an error.

Now, guests are only allowed to set a single value for the content-length header.

Patches

Patches are present in main and 50.0.0, and patch releases 36.0.19, 48.0.7 and 49.0.4.

Affected versions

References

GitHub · bytecodealliance/wasmtime