Ubuntu Security Notice
USN-5896-1
ruby-rack vulnerabilities
Details
It was discovered that Rack was not properly parsing data when processing multipart POST requests. If a user or automated system were tricked into sending a specially crafted multipart POST request to an application using Rack, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-30122)
It was discovered that Rack was not properly escaping untrusted data when performing logging operations, which could cause shell escaped sequences to be written to a terminal. If a user or automated system were tricked into sending a specially crafted request to an application using Rack, a remote attacker could possibly use this issue to execute arbitrary code in the machine running the application. (CVE-2022-30123)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | ruby-rack | All versions before 1.6.4-4ubuntu0.2+esm2 (fixed in 1.6.4-4ubuntu0.2+esm2) |
| Ubuntu:Pro:20.04:LTS | ruby-rack | All versions before 2.0.7-2ubuntu0.1+esm2 (fixed in 2.0.7-2ubuntu0.1+esm2) |
| Ubuntu:Pro:22.04:LTS | ruby-rack | All versions before 2.1.4-5ubuntu1+esm2 (fixed in 2.1.4-5ubuntu1+esm2) |