CVE-2022-32215: The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line Transfer-Encoding headers.
Medium CVSS 6.5
- CVE id
- CVE-2022-32215
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Node.js Runtimes and servers |
>= 14.0.0, <= 14.14.0 >= 14.15.0, < 14.20.0 >= 16.0.0, <= 16.12.0 >= 16.13.0, < 16.16.0 >= 18.0.0, < 18.5.0 |
14.20.0, 16.16.0, 18.5.0 |
How to fix it
Upgrade Node.js to the fixed release of the line you run: 14.20.0, 16.16.0, 18.5.0.
node --version
- Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
References
- CVE-2022-32215 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-32215
- Web: https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- Web: https://hackerone.com/reports/1501679
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICG6CSIB3GUWH5DUSQEVX53MOJW7LYK/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCNN3YG2BCLS4ZEKJ3CLSUT6AS7AXTH3/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VMQK5L5SBYD47QQZ67LEMHNQ662GH3OY/
- Web: https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/
- Web: https://www.debian.org/security/2023/dsa-5326
- Web: https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- Web: https://hackerone.com/reports/1501679
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICG6CSIB3GUWH5DUSQEVX53MOJW7LYK/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCNN3YG2BCLS4ZEKJ3CLSUT6AS7AXTH3/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VMQK5L5SBYD47QQZ67LEMHNQ662GH3OY/
- Web: https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/
- Web: https://www.debian.org/security/2023/dsa-5326
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.