Advisory

RUSTSEC-2026-0553

Also known as: GHSA-9543-cj4x-h76q

Summary

Malformed quoted chunk extensions can end HTTP/1.1 request bodies early

Details

Affected versions of actix-http do not track quoted strings when parsing
HTTP/1.1 chunk extensions. A carriage return inside a quoted extension value
is treated as the end of the chunk-size line, even if the closing quote is
missing. For example, 0;x="\r\n\r\n is accepted as the end of a chunked body,
and a following pipelined request is dispatched on the same connection.

A remote client can trigger this without authentication. CR and LF are invalid
inside HTTP quoted strings, including after a backslash; they must be rejected
rather than interpreted as framing or accepted as quoted data.

Request smuggling requires an upstream intermediary that forwards the malformed
input while using a different request boundary. Dispatching two requests on the
sender's own connection does not by itself demonstrate an authorization bypass
or an effect on another user. Proxy bypass, cache poisoning, and cross-user
response mixing were not demonstrated by the reproduction.

Upgrade to actix-http 3.21.3 or later. The fix preserves quote and escape state
across reads and rejects invalid control bytes inside quoted strings and quoted
pairs before consuming the following body or request bytes.

Severity

Not rated by the source.

Dates

Published
2026-11-16 12:00 UTC
Modified
2026-11-17 10:15 UTC

Affected packages and fixes

actix-http

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 3.21.3 (semver)

Fixed versions

3.21.3

Fix

  • Fixed version 3.21.3
    cargo update -p actix-http --precise 3.21.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC BY 4.0

This record names its own licence, CC BY 4.0, which differs from the source's (CC0-1.0).

Sources & licences