ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-27111

Details

Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised 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 is fixed in 2.2.12, 3.0.13, and 3.1.11.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSruby-rack
All versions before 1.5.2-3+deb8u3ubuntu1~esm9 (fixed in 1.5.2-3+deb8u3ubuntu1~esm9)
Ubuntu:Pro:16.04:LTSruby-rack
All versions before 1.6.4-3ubuntu0.2+esm7 (fixed in 1.6.4-3ubuntu0.2+esm7)
Ubuntu:Pro:18.04:LTSruby-rack
All versions before 1.6.4-4ubuntu0.2+esm7 (fixed in 1.6.4-4ubuntu0.2+esm7)
Ubuntu:Pro:20.04:LTSruby-rack
All versions before 2.0.7-2ubuntu0.1+esm6 (fixed in 2.0.7-2ubuntu0.1+esm6)
Ubuntu:Pro:22.04:LTSruby-rack
All versions before 2.1.4-5ubuntu1.1+esm1 (fixed in 2.1.4-5ubuntu1.1+esm1)
Ubuntu:24.04:LTSruby-rack
All versions before 2.2.7-1ubuntu0.2 (fixed in 2.2.7-1ubuntu0.2)
Ubuntu:25.10ruby-rack
All versions before 3.1.16-0.1 (fixed in 3.1.16-0.1)
Ubuntu:26.04:LTSruby-rack
All versions before 3.1.16-0.1 (fixed in 3.1.16-0.1)

References