In-depth lesson · Parser differentials
Root causes
Every point the Parser differentials reports back under this heading, best-backed first, each with the reports it is seen in.
-
The application did not validate or normalise Unicode characters before display, so homograph strings passed through unchanged.
Seen in 5 reports
-
The front end did not recognise a Transfer-Encoding header containing a space or tab and fell back to Content-Length while the backend accepted it as chunked.
-
Node.js converted a carriage return inside a header name into a hyphen instead of rejecting the malformed header.
Seen in 1 report
-
The Node.js parser did not reject or normalise duplicate Transfer-Encoding headers and processed only the first.
Seen in 1 report
-
The parser accepted whitespace between a header field name and the colon, contrary to the specification.
Seen in 1 report
-
The llhttp parser did not validate characters in a chunk extension, allowing a newline that a front-end proxy treated as a request boundary.
Seen in 1 report
-
Apache mod_proxy with HTTP/2 enabled did not reject spaces in the method pseudo-header before downgrading to HTTP/1.1.
Seen in 1 report
-
String manipulation functions did not sanitise hexadecimal escape sequences that decode to carriage return and line feed, allowing header injection.
Seen in 1 report
-
mod_proxy_ajp parsed HTTP request boundaries differently from the backend AJP server.
Seen in 1 report
-
The llhttp parser did not strictly enforce the CRLF sequence as the delimiter for header fields.
Seen in 1 report
-
Tomcat's trailer parser skipped lines without a colon until it found a valid header, causing a mismatch with the front-end proxy.
Seen in 1 report
-
The parser accepted a non-standard header block terminator instead of requiring the exact double CRLF sequence.
Seen in 1 report