Addressable is an alternative implementation to the URI implementation that is part of Rubys standard library. From 2.1.2 until 2.10.0, Addressable::URI#request_uri returns stored control characters and spaces without encoding them. An HTTP client that writes this value directly into an HTTP request line can allow an untrusted URI to terminate the line early and inject headers. With keep-alive, and depending on client and server behavior, the injected text could potentially begin an additional request on the same connection. This issue is fixed in version 2.10.0.
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Addressable | Addressable_project | 2.1.2 (including) | 2.10.0 (excluding) |