First published: Wed Jun 21 2023(Updated: )
Hiroshi Tokumaru discovered that Ruby did not properly handle certain user input for applications the 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. This issue only affected Ubuntu 22.10. (CVE-2021-33621) It was discovered that Ruby incorrectly handled certain regular expressions. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-28755, CVE-2023-28756)
Affected Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/ruby3.1 | <3.1.2-6ubuntu0.23.04.1 | 3.1.2-6ubuntu0.23.04.1 |
Ubuntu | =23.04 | |
All of | ||
ubuntu/libruby3.1 | <3.1.2-6ubuntu0.23.04.1 | 3.1.2-6ubuntu0.23.04.1 |
Ubuntu | =23.04 | |
All of | ||
ubuntu/ruby3.1 | <3.1.2-2ubuntu0.22.10.1 | 3.1.2-2ubuntu0.22.10.1 |
Ubuntu | =22.10 | |
All of | ||
ubuntu/libruby3.1 | <3.1.2-2ubuntu0.22.10.1 | 3.1.2-2ubuntu0.22.10.1 |
Ubuntu | =22.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Contains the following vulnerabilities)
The vulnerability ID for this advisory is USN-6181-1.
The software versions affected are ruby3.1 (version 3.1.2-6ubuntu0.23.04.1) and libruby3.1 (version 3.1.2-6ubuntu0.23.04.1) in Ubuntu 23.04, as well as ruby3.1 (version 3.1.2-2ubuntu0.22.10.1) and libruby3.1 (version 3.1.2-2ubuntu0.22.10.1) in Ubuntu 22.10.
This vulnerability could allow an attacker to maliciously modify the response a user would receive from a vulnerable application that generates HTTP responses using the cgi gem.
To fix this vulnerability, update ruby3.1 to version 3.1.2-6ubuntu0.23.04.1 and libruby3.1 to version 3.1.2-6ubuntu0.23.04.1 if you are using Ubuntu 23.04, or update ruby3.1 to version 3.1.2-2ubuntu0.22.10.1 and libruby3.1 to version 3.1.2-2ubuntu0.22.10.1 if you are using Ubuntu 22.10.
You can find more information about this vulnerability in the Ubuntu Security Notices at the following references: [CVE-2023-28755](https://ubuntu.com/security/CVE-2023-28755), [CVE-2021-33621](https://ubuntu.com/security/CVE-2021-33621), [CVE-2023-28756](https://ubuntu.com/security/CVE-2023-28756).