Summary
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.
Security Fix(es):
* net-imap: Net::IMAP vulnerable to possible DoS by memory exhaustion (CVE-2025-25186)
* CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219)
* uri: userinfo leakage in URI#join, URI#merge and URI#+ (CVE-2025-27221)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 30
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | ruby | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | ruby-bundled-gems | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | ruby-default-gems | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | ruby-devel | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | ruby-doc | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | ruby-libs | 3.3.8-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-abrt | 0.4.0-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-bigdecimal | 3.1.5-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-bundler | 2.5.22-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-io-console | 0.7.1-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-irb | 1.13.1-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-json | 2.7.2-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-minitest | 5.20.0-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-mysql2 | 0.5.5-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-mysql2-doc | 0.5.5-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-pg | 1.5.4-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-pg-doc | 1.5.4-1.module_el8.10.0+3799+191214cc |
| AlmaLinux · 8 | rubygem-power_assert | 2.0.3-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-psych | 5.1.2-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-racc | 1.7.3-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-rake | 13.1.0-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-rbs | 3.4.0-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-rdoc | 6.6.3.1-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-rexml | 3.3.9-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-rss | 0.3.1-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-test-unit | 3.6.1-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygem-typeprof | 0.21.9-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygems | 3.5.22-4.module_el8.10.0+4022+8b66723c |
| AlmaLinux · 8 | rubygems-devel | 3.5.22-4.module_el8.10.0+4022+8b66723c |
Vulnerabilities 3
-
Medium 6.5
Net::IMAP vulnerable to possible DoS by memory exhaustion
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response par…
-
Medium 5.8
CGI has Denial of Service (DoS) potential in Cookie.parse
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead …
-
Low 3.2
URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+
In the URI gem before 1.0.3 for Ruby, the URI handling methods (URI.join, URI#merge, URI#+) have an inadvertent leakage of authentication credentials because userinfo is retained even after changing the host.
References
-
report
https://access.redhat.com/security/cve/CVE-2025-25186
-
report
https://access.redhat.com/security/cve/CVE-2025-27219
-
report
https://access.redhat.com/security/cve/CVE-2025-27221
-
report
https://bugzilla.redhat.com/2344680
-
report
https://bugzilla.redhat.com/2349699
-
report
https://bugzilla.redhat.com/2349700
-
advisory
https://errata.almalinux.org/8/ALSA-2025-10217.html