react/http is vulnerable to Denial of Service (DoS)
75
High Risk
The ChunkedDecoder used for Transfer-Encoding: chunked bodies fails to advance its buffer when a terminating chunk arrives without a trailing CRLF, so the decode loop re-enters with identical state and spins forever; a completed chunk followed by exactly two non-CRLF bytes hits the same off-by-one and loops instead of erroring. A malformed chunked message freezes the event loop and consumes CPU, taking the whole process offline. This reaches both the HTTP server (request bodies) and the HTTP client (response bodies). The fix returns early to wait for more trailer data, caps a pending trailer at MAX_CHUNK_HEADER_SIZE, and reports an invalid chunk terminator instead of looping.
You are affected if you are using a version that falls within the vulnerable range.
react/http is vulnerable to Denial of Service (DoS) in versions 0.6.0 - 1.11.0.
Upgrade the react/http library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.