USN-5806-2: Ruby vulnerability
=========================================================================
Ubuntu Security Notice USN-5806-2
January 23, 2023
ruby2.5, ruby3.0 vulnerability
=========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 18.04 LTS
Summary:
Ruby could allow for internet traffic to be modified if
a vulnerable application processed malicious user input.
Software Description:
- ruby3.0: Interpreter of object-oriented scripting language Ruby
- ruby2.5: Object-oriented scripting language
Details:
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.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.10:
libruby3.0 3.0.4-7ubuntu0.1
ruby3.0 3.0.4-7ubuntu0.1
Ubuntu 22.04 LTS:
libruby3.0 3.0.2-7ubuntu2.3
ruby3.0 3.0.2-7ubuntu2.3
Ubuntu 18.04 LTS:
libruby2.5 2.5.1-1ubuntu1.13
ruby2.5 2.5.1-1ubuntu1.13
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5806-2
https://ubuntu.com/security/notices/USN-5806-1
CVE-2021-33621
Package Information:
https://launchpad.net/ubuntu/+source/ruby3.0/3.0.4-7ubuntu0.1
https://launchpad.net/ubuntu/+source/ruby3.0/3.0.2-7ubuntu2.3
https://launchpad.net/ubuntu/+source/ruby2.5/2.5.1-1ubuntu1.13
A Ruby security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, and 22.10.