Lucene search

K
rustsecRustsecRUSTSEC-2022-0066
HistoryOct 30, 2022 - 12:00 p.m.

Denial of Service from unchecked request length

2022-10-3012:00:00
rustsec.org
5
denial of service
version 0.4.2
conduit-hyper
request length
content-length
panic
memory allocation
internal limit
bad request
software

0.001 Low

EPSS

Percentile

38.4%

Prior to version 0.4.2, conduit-hyper did not check any limit on a request’s
length before calling hyper::body::to_bytes. An attacker could send a
malicious request with an abnormally large Content-Length, which could lead
to a panic if memory allocation failed for that request.

In version 0.4.2, conduit-hyper sets an internal limit of 128 MiB per
request, otherwise returning status 400 (“Bad Request”).

0.001 Low

EPSS

Percentile

38.4%

Related for RUSTSEC-2022-0066