CVE-2022-32213
published 2022-07-14CVE-2022-32213: The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead…
PriorityP346medium6.5CVSS 3.1
AVNACLPRNUINSUCLILAN
EPSS
41.95%
98.6th percentile
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
Affected
43 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | llhttp | < nodejs 18.6.0+dfsg-3 (bookworm) | nodejs 18.6.0+dfsg-3 (bookworm) |
| debian | nodejs | < nodejs 18.6.0+dfsg-3 (bookworm) | nodejs 18.6.0+dfsg-3 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| llhttp | llhttp | < 2.1.5 | 2.1.5 |
| llhttp | llhttp | >= 0 < 6.0.7 | 6.0.7 |
| llhttp | llhttp | >= 6.0.0 < 6.0.7 | 6.0.7 |
| msrc | azl3_rust_1.75.0-14_on_azure_linux_3.0 | — | — |
| msrc | azl3_rust_1.75.0-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_rust_1.86.0-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_nodejs_16.20.2-4_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_nodejs_14.20.0-1_on_cbl_mariner_1.0 | — | — |
| nodejs | node | >= 10.0 < 10.* | 10.* |
| nodejs | node | >= 11.0 < 11.* | 11.* |
| nodejs | node | >= 12.0 < 12.* | 12.* |
| nodejs | node | >= 13.0 < 13.* | 13.* |
| nodejs | node | >= 14.0 < 14.20.1 | 14.20.1 |
| nodejs | node | >= 15.0 < 15.* | 15.* |
| nodejs | node | >= 16.0 < 16.17.1 | 16.17.1 |
| nodejs | node | >= 17.0 < 17.* | 17.* |
| nodejs | node | >= 18.0 < 18.9.1 | 18.9.1 |
| nodejs | node | >= 4.0 < 4.* | 4.* |
| nodejs | node | >= 5.0 < 5.* | 5.* |
Detection & IOCsextracted from sources · hover to see the quote
- →Look for downstream requests containing 'Transfer-Encoding: chunked <extra-token>' (e.g. 'chunked abc') as a result of obs-fold header folding by a Node.js proxy — this indicates a smuggled/malformed TE header was forwarded. ↗
- →Flag HTTP requests where the Transfer-Encoding header contains a value that is not a valid transfer-encoding token (e.g. contains whitespace-folded extra tokens), as the llhttp parser in Node.js does not correctly parse and validate such Transfer-Encoding headers. ↗
- →When Node.js HTTP module is used as a reverse proxy, monitor for discrepancies between the Transfer-Encoding header received by the proxy and the one forwarded to the downstream server, which may indicate HTTP Request Smuggling exploitation. ↗
- ·The fix for CVE-2022-32213 can be bypassed using the obs-fold mechanic (CRLF + whitespace folding within Transfer-Encoding header), meaning patching to the initial fix may not be sufficient — llhttp v6.0.7 / v2.1.5 and Node.js >=14.20.1, >=16.17.1, >=18.9.1 contain the complete fixes. ↗
- ·All Node.js 18.x, 16.x, and 14.x release lines are affected; llhttp v6.0.7 and llhttp v2.1.5 contain the fixes. ↗
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
osv8.1HIGH
vendor_ubuntu8.1HIGH
vendor_debian6.5LOW
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Node.js vulnerabilities
vendor_ubuntu·2023-11-21·CVSS 8.1
CVE-2022-32213 [HIGH] Node.js vulnerabilities
Title: Node.js vulnerabilities
Summary: Several security issues were fixed in Node.js.
Axel Chong discovered that Node.js incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to execute
arbitrary code. (CVE-2022-32212)
Zeyu Zhang discovered that Node.js incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-32213,
CVE-2022-32214, CVE-2022-32215)
It was discovered that Node.js incorrectly handled certain inputs. If a user
or an automated system were tricked into opening
CISA ICS
Siemens SINEC INS
cisa_ics·2023-01-17·CVSS 7.3
[HIGH] Siemens SINEC INS
ICS Advisory
##
Siemens SINEC INS
Last RevisedJanuary 17, 2023
Alert CodeICSA-23-017-03
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.9
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SINEC INS
- Vulnerabilities: OS Command Injection, Inadequate Encryption Strength, Out-of-bounds Write, HTTP Request Smuggling, Inadequate Encryption Strength, Use of Insufficiently Random Values, Authentication Bypass by Spoofing, Path Trave
Microsoft
The llhttp parser <v14.20.1 <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
vendor_msrc·2022-07-12·CVSS 6.5
CVE-2022-32213 [MEDIUM] CWE-444 The llhttp parser <v14.20.1 <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
The llhttp parser Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
hackerone: hackerone
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-lin
Red Hat
nodejs: HTTP request smuggling due to flawed parsing of Transfer-Encoding
vendor_redhat·2022-07-08·CVSS 6.5
CVE-2022-32213 [MEDIUM] CWE-444 nodejs: HTTP request smuggling due to flawed parsing of Transfer-Encoding
nodejs: HTTP request smuggling due to flawed parsing of Transfer-Encoding
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
A vulnerability was found in NodeJS due to improper validation of HTTP requests. The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This issue can lead to HTTP Request Smuggling (HRS), causing web cache poisoning, and conducting XSS attacks.
Package: nodejs:18/nodejs (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2022-32213: llhttp - The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.j...
vendor_debian·2022·CVSS 6.5
CVE-2022-32213 [MEDIUM] CVE-2022-32213: llhttp - The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.j...
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
Scope: local
forky: resolved
sid: resolved
OSV
nodejs vulnerabilities
osv·2023-11-21·CVSS 8.1
CVE-2022-32212 [HIGH] nodejs vulnerabilities
nodejs vulnerabilities
Axel Chong discovered that Node.js incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to execute
arbitrary code. (CVE-2022-32212)
Zeyu Zhang discovered that Node.js incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-32213,
CVE-2022-32214, CVE-2022-32215)
It was discovered that Node.js incorrectly handled certain inputs. If a user
or an automated system were tricked into opening a specially crafted input
file, a remote attacker could possibly
GHSA
llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
ghsa·2022-07-15
CVE-2022-32213 [CRITICAL] CWE-444 llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
The llhttp parser in the http module in Node.js v17.x does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
Impacts:
- All versions of the nodejs 18.x, 16.x, and 14.x releases lines.
- llhttp v6.0.7 and llhttp v2.1.5 contains the fixes that were updated inside Node.js
OSV
llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
osv·2022-07-15
CVE-2022-32213 [CRITICAL] llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
The llhttp parser in the http module in Node.js v17.x does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
Impacts:
- All versions of the nodejs 18.x, 16.x, and 14.x releases lines.
- llhttp v6.0.7 and llhttp v2.1.5 contains the fixes that were updated inside Node.js
OSV
CVE-2022-32213: The llhttp parser <v14
osv·2022-07-14·CVSS 6.5
CVE-2022-32213 [MEDIUM] CVE-2022-32213: The llhttp parser <v14
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
No detection rules found.
No public exploits indexed.
HackerOne
CVE-2022-32213 bypass via obs-fold mechanic
hackerone·2022-10-26·CVSS 6.5
CVE-2022-32213 [MEDIUM] CVE-2022-32213 bypass via obs-fold mechanic
CVE-2022-32213 bypass via obs-fold mechanic
## Summary
The fix for CVE-2022-32213 can be bypass using an obs-fold, which Node's http parser supports
## Proof-Of-Concept
`````
const http = require('http');
http.createServer((request, response) => {
let body = [];
request.on('error', (err) => {
response.end("error while reading body: " + err)
}).on('data', (chunk) => {
body.push(chunk);
}).on('end', () => {
body = Buffer.concat(body).toString();
response.on('error', (err) => {
response.end("error while sending response: " + err)
});
response.end("Headers: " + JSON.stringify(request.headers));
});
}).listen(5000);
`````
Send the obs-fold via curl
`````
curl -vv -H $'Transfer-Encoding: chunked\r\n abc' --data "A" http://127.0.0.1:5000
`````
See that the server accepted the chunked reques
HackerOne
CVE-2022-32213 - HTTP Request Smuggling Due to Flawed Parsing of Transfer-Encoding
hackerone·2022-07-22·CVSS 6.5
CVE-2022-32213 [MEDIUM] CVE-2022-32213 - HTTP Request Smuggling Due to Flawed Parsing of Transfer-Encoding
CVE-2022-32213 - HTTP Request Smuggling Due to Flawed Parsing of Transfer-Encoding
Original Report: https://hackerone.com/reports/1524555
## Impact
Depending on the specific web application, HRS can lead to cache poisoning, bypassing of security layers, stealing of credentials and so on.
HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)(CVE-2022-32213)
The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
More details will be available at CVE-2022-32213 after publication.
Thank you to Zeyu Zhang (@zeyu2001) for reporting this vulnerability.
Impacts:
All versions of the 18.x, 16.x, and 14.x releases lines.
llhttp v6.0.7 and llhttp v2.1.5 contains the fixes that were up
https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfhttps://hackerone.com/reports/1524555https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICG6CSIB3GUWH5DUSQEVX53MOJW7LYK/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCNN3YG2BCLS4ZEKJ3CLSUT6AS7AXTH3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VMQK5L5SBYD47QQZ67LEMHNQ662GH3OY/https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/https://www.debian.org/security/2023/dsa-5326https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfhttps://hackerone.com/reports/1524555https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICG6CSIB3GUWH5DUSQEVX53MOJW7LYK/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCNN3YG2BCLS4ZEKJ3CLSUT6AS7AXTH3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VMQK5L5SBYD47QQZ67LEMHNQ662GH3OY/https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/https://www.debian.org/security/2023/dsa-5326
2022-07-14
Published