- Reported
-
- Issued
-
- Package
-
actix-http
(crates.io)
- Type
-
Vulnerability
- Keywords
-
#http
#request-smuggling
#chunked
#crlf
- Aliases
-
- References
-
- CVSS Score
- 6.3
MEDIUM
- CVSS Details
-
- Attack Complexity
- Low
- Attack Requirements
- Present
- Attack Vector
- Network
- Privileges Required
- None
- Availability Impact to the Subsequent System
- None
- Confidentiality Impact to the Subsequent System
- None
- Integrity Impact to the Subsequent System
- None
- User Interaction
- None
- Availability Impact to the Vulnerable System
- None
- Confidentiality Impact to the Vulnerable System
- None
- Integrity Impact to the Vulnerable System
- Low
- CVSS Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Patched
-
Description
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.
Advisory available under CC-BY-4.0
license.
Source: https://github.com/actix/actix-web/releases/tag/actix-http-v3.21.3