USN-6181-1: Ruby vulnerabilities
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
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What is the vulnerability ID for this advisory?
The vulnerability ID for this advisory is USN-6181-1.
What software versions are affected by this vulnerability?
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.
What is the impact of this vulnerability?
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.
How can I fix this vulnerability?
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.
Where can I find more information about this vulnerability?
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).