FuelLabs / fuel-core

Rust full node implementation of the Fuel v2 protocol.
Other
58.15k stars 2.77k forks source link

RUSTSEC-2021-0078: Lenient `hyper` header parsing of `Content-Length` could allow request smuggling #1104

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Lenient hyper header parsing of Content-Length could allow request smuggling

Details
Package hyper
Version 0.13.10
URL https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c
Date 2021-07-07
Patched versions >=0.14.10

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, hyper must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

See advisory page for additional details.

Dentosal commented 1 year ago

Blocked by external https://github.com/nlopes/libhoney-rust/issues/80, which has been open for quite some time.