CVE-2023-30589
Description
The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS). The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20
How to fix
- nodejs node.js16.20.1, 18.16.1, 20.3.1 or later
- llhttp8.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 16.0.0 ≤ v < 16.20.1, 18.0.0 ≤ v < 18.16.1, 20.0.0 ≤ v < 20.3.1 | 16.20.1, 18.16.1, 20.3.1 |
| fedoraproject fedora | 37, 38 | — |
| llhttpnpm | v < 8.1.1 | 8.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.