Ubuntu Security Notice
USN-7366-1
ruby-rack vulnerabilities
Details
Nhật Thái Đỗ discovered that Rack incorrectly handled certain usernames. A remote attacker could possibly use this issue to perform CRLF injection. (CVE-2025-25184)
Phạm Quang Minh discovered that Rack incorrectly handled certain headers. A remote attacker could possibly use this issue to perform log injection. (CVE-2025-27111)
Phạm Quang Minh discovered that Rack did not properly handle relative file paths. A remote attacker could potentially exploit this to include local files that should have been inaccessible. (CVE-2025-27610)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | ruby-rack | All versions before 1.5.2-3+deb8u3ubuntu1~esm9 (fixed in 1.5.2-3+deb8u3ubuntu1~esm9) |
| Ubuntu:Pro:16.04:LTS | ruby-rack | All versions before 1.6.4-3ubuntu0.2+esm7 (fixed in 1.6.4-3ubuntu0.2+esm7) |
| Ubuntu:Pro:18.04:LTS | ruby-rack | All versions before 1.6.4-4ubuntu0.2+esm7 (fixed in 1.6.4-4ubuntu0.2+esm7) |
| Ubuntu:Pro:20.04:LTS | ruby-rack | All versions before 2.0.7-2ubuntu0.1+esm6 (fixed in 2.0.7-2ubuntu0.1+esm6) |
| Ubuntu:Pro:22.04:LTS | ruby-rack | All versions before 2.1.4-5ubuntu1.1+esm1 (fixed in 2.1.4-5ubuntu1.1+esm1) |
| Ubuntu:24.04:LTS | ruby-rack | All versions before 2.2.7-1ubuntu0.2 (fixed in 2.2.7-1ubuntu0.2) |