| Package | Affected versions | Patched versions |
|---|---|---|
| rack | ≥ 3.0, < 3.0.13≥ 3.1, < 3.1.11< 2.2.12 | 3.0.133.1.112.2.12 |
| rack | ≥ 3.0.0, < 3.0.13≥ 3.1.0, < 3.1.11< 2.2.12 | 3.0.133.1.112.2.12 |
Rack::Sendfile can be exploited by crafting input that includes newline characters to manipulate log entries.
The Rack::Sendfile middleware logs unsanitized header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection.
This vulnerability can distort log files, obscure attack traces, and complicate security auditing.
Rack::Sendfile.Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free