USN-5806-2: Ruby vulnerability

Published Jan 23, 2023
·
Updated

USN-5806-1 fixed vulnerabilities in Ruby. This update fixes the problem for Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.10. Original advisory details: Hiroshi Tokumaru discovered that Ruby did not properly handle certain user input for applications which generate HTTP responses using cgi gem. An attacker could possibly use this issue to maliciously modify the response a user would receive from a vulnerable application.

Affected Software

12 affected componentsFixes available
All of the following
ubuntu/ruby3.0<3.0.4-7ubuntu0.1
3.0.4-7ubuntu0.1
Ubuntu Ubuntu=22.10
All of the following
ubuntu/libruby3.0<3.0.4-7ubuntu0.1
3.0.4-7ubuntu0.1
Ubuntu Ubuntu=22.10
All of the following
ubuntu/ruby3.0<3.0.2-7ubuntu2.3
3.0.2-7ubuntu2.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libruby3.0<3.0.2-7ubuntu2.3
3.0.2-7ubuntu2.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/ruby2.5<2.5.1-1ubuntu1.13
2.5.1-1ubuntu1.13
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libruby2.5<2.5.1-1ubuntu1.13
2.5.1-1ubuntu1.13
Ubuntu Ubuntu=18.04

Event History

Jan 23, 2023
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Ruby vulnerability?

The vulnerability ID for this Ruby vulnerability is USN-5806-2.

2

What is the affected software?

The affected software is Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.10 with Ruby versions 2.5.1-1ubuntu1.13, 3.0.2-7ubuntu2.3, and 3.0.4-7ubuntu0.1.

3

What is the severity of the USN-5806-2 vulnerability?

The severity of the USN-5806-2 vulnerability is not specified in the information provided.

4

How do I fix the USN-5806-2 vulnerability?

To fix the USN-5806-2 vulnerability, update Ruby to versions 2.5.1-1ubuntu1.13, 3.0.2-7ubuntu2.3, or 3.0.4-7ubuntu0.1 depending on your Ubuntu version.

5

Where can I find more information about the USN-5806-2 vulnerability?

You can find more information about the USN-5806-2 vulnerability in the following references: 1. [CVE-2021-33621](https://ubuntu.com/security/CVE-2021-33621) 2. [USN-5806-1](https://ubuntu.com/security/notices/USN-5806-1) 3. [USN-5806-3](https://ubuntu.com/security/notices/USN-5806-3)

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