GHSA-8CGQ-6MH2-7J6V
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-8CGQ-6MH2-7J6V divulgada | |
| Remediación | Parche 2.2.12 | rack · 0 d desde divulgación | |
| Remediación | Parche 3.0.13 | rack · 0 d desde divulgación | |
| Remediación | Parche 3.1.11 | rack · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Summary
`Rack::Sendfile` can be exploited by crafting input that includes newline characters to manipulate log entries.
Details
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.
Impact
This vulnerability can distort log files, obscure attack traces, and complicate security auditing.
Mitigation
- Update to the latest version of Rack, or
- Remove usage of `Rack::Sendfile`.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
rubygemsrack |
Corregida | 2.2.12, 3.0.13, 3.1.11 | 0 d · 0 d · 0 d | 3.2.8 no afectada |
2.2.123.0.133.1.11Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2025-27111https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6vhttps://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30bhttps://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3https://github.com/rack/rackhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-27111.ymlhttps://lists.debian.org/debian-lts-announce/2025/03/msg00016.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
