USN-5896-1: Rack vulnerabilities

Published Feb 27, 2023
·
Updated

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 Software

7 affected componentsFixes available
rubygems/rack
All of the following
ubuntu/ruby-rack<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/ruby-rack<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/ruby-rack<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-rack to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Feb 27, 2023
Advisory Published
12:00 AM
Data Sourced
12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Rack vulnerability?

The vulnerability ID for this Rack vulnerability is CVE-2022-30123.

2

What is the severity of CVE-2022-30123?

The severity of CVE-2022-30123 is not provided in the information provided.

3

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability by tricking a user or automated system into sending a specially crafted multipart POST request to an application using Rack.

4

Which versions of Ruby Rack are affected?

Versions 2.1.4-5ubuntu1+esm2, 2.0.7-2ubuntu0.1+esm2, and 1.6.4-4ubuntu0.2+esm2 are affected.

5

How do I fix the Rack vulnerability?

To fix the Rack vulnerability, update the `ruby-rack` package to version 2.1.4-5ubuntu1+esm2, 2.0.7-2ubuntu0.1+esm2, or 1.6.4-4ubuntu0.2+esm2 depending on your Ubuntu version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203