Skip to content
Smuggling / CRLF Disclosed report Advanced CVE-2022-32215

CVE-2022-32215 - HTTP Request Smuggling Due to Incorrect Parsing of Multi-line Transfer-Encoding

The llhttp parser in Node.js did not correctly handle multi-line Transfer-Encoding headers, which could allow HTTP request smuggling. An attacker could potentially poison caches, bypass security layers, or steal credentials depending on the application.

zeyu2001 Follow

Originally disclosed on HackerOne

Bounty$1,800 Medium View original
  • Triaged in 15 hours
  • Fixed in 14 days
  • Paid in 14 days
  • Disclosed after 14 days

Summary by the program

HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)(CVE-2022-32215)

The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).

More details will be available at CVE-2022-32215 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 updated inside Node.js

Security Advisory: https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/

The report

Original Report: https://hackerone.com/reports/1501679

Impact

Depending on the specific web application, HRS can lead to cache poisoning, bypassing of security layers, stealing of credentials and so on.

The original report as published on HackerOne, by zeyu2001. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the llhttp parser did not correctly parse multi-line Transfer-Encoding headers, causing a discrepancy in how request boundaries were determined.

Impact

Depending on the specific web application, HRS could lead to cache poisoning, bypassing of security layers, stealing of credentials and so on.

What the attacker needed

Node.js 18.x, 16.x, or 14.x

The fix

The issue was fixed in llhttp v6.0.7 and v2.1.5, which were included in Node.js updates.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

HTTP request smuggling is when an attacker sends a request that different servers interpret differently, letting them sneak a second request past security checks. Here, Node.js's parser mishandled a header split across multiple lines, so a front-end and back-end server could disagree on where one request ends and the next begins. This could let an attacker poison caches or steal data, depending on the setup.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

More by zeyu2001

View all

8 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.