AlmaLinux Security Advisory
ALSA-2022:6447
Moderate: ruby:2.7 security, bug fix, and enhancement update
Details
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.
The following packages have been upgraded to a later upstream version: ruby (2.7.6). (BZ#2109424)
Security Fix(es):
- ruby: Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)
- ruby: Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)
- Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | ruby | All versions before 2.7.6-138.module_el8.6.0+3263+904da987 (fixed in 2.7.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | ruby-default-gems | All versions before 2.7.6-138.module_el8.6.0+3263+904da987 (fixed in 2.7.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | ruby-devel | All versions before 2.7.6-138.module_el8.6.0+3263+904da987 (fixed in 2.7.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | ruby-doc | All versions before 2.7.6-138.module_el8.6.0+3263+904da987 (fixed in 2.7.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | ruby-libs | All versions before 2.7.6-138.module_el8.6.0+3263+904da987 (fixed in 2.7.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-abrt | All versions before 0.4.0-1.module_el8.5.0+2595+0c654ebc (fixed in 0.4.0-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-abrt-doc | All versions before 0.4.0-1.module_el8.5.0+2595+0c654ebc (fixed in 0.4.0-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-bigdecimal | All versions before 2.0.0-138.module_el8.6.0+3263+904da987 (fixed in 2.0.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.8.1-1.module_el8.5.0+117+35d1289b (fixed in 4.8.1-1.module_el8.5.0+117+35d1289b) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.8.1-1.module_el8.6.0+3167+957ef55e (fixed in 4.8.1-1.module_el8.6.0+3167+957ef55e) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.8.1-1.module_el8.4.0+2399+4e3a532a (fixed in 4.8.1-1.module_el8.4.0+2399+4e3a532a) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.8.1-1.module_el8.3.0+6147+d0dfc1e4 (fixed in 4.8.1-1.module_el8.3.0+6147+d0dfc1e4) |
| AlmaLinux:8 | rubygem-bson-doc | All versions before 4.8.1-1.module_el8.3.0+6147+d0dfc1e4 (fixed in 4.8.1-1.module_el8.3.0+6147+d0dfc1e4) |
| AlmaLinux:8 | rubygem-bundler | All versions before 2.2.24-138.module_el8.6.0+3263+904da987 (fixed in 2.2.24-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-io-console | All versions before 0.5.6-138.module_el8.6.0+3263+904da987 (fixed in 0.5.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-irb | All versions before 1.2.6-138.module_el8.6.0+3263+904da987 (fixed in 1.2.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-json | All versions before 2.3.0-138.module_el8.6.0+3263+904da987 (fixed in 2.3.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-minitest | All versions before 5.13.0-138.module_el8.6.0+3263+904da987 (fixed in 5.13.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-mongo | All versions before 2.11.3-1.module_el8.3.0+6147+d0dfc1e4 (fixed in 2.11.3-1.module_el8.3.0+6147+d0dfc1e4) |
| AlmaLinux:8 | rubygem-mongo-doc | All versions before 2.11.3-1.module_el8.3.0+6147+d0dfc1e4 (fixed in 2.11.3-1.module_el8.3.0+6147+d0dfc1e4) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.4.0+2399+4e3a532a (fixed in 0.5.3-1.module_el8.4.0+2399+4e3a532a) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.6.0+3167+957ef55e (fixed in 0.5.3-1.module_el8.6.0+3167+957ef55e) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.5.0+2595+0c654ebc (fixed in 0.5.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.3-1.module_el8.5.0+117+35d1289b (fixed in 0.5.3-1.module_el8.5.0+117+35d1289b) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.5.3-1.module_el8.5.0+2595+0c654ebc (fixed in 0.5.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-net-telnet | All versions before 0.2.0-138.module_el8.6.0+3263+904da987 (fixed in 0.2.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-openssl | All versions before 2.1.3-138.module_el8.6.0+3263+904da987 (fixed in 2.1.3-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.5.0+2595+0c654ebc (fixed in 1.2.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.5.0+117+35d1289b (fixed in 1.2.3-1.module_el8.5.0+117+35d1289b) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.4.0+2399+4e3a532a (fixed in 1.2.3-1.module_el8.4.0+2399+4e3a532a) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.2.3-1.module_el8.6.0+3167+957ef55e (fixed in 1.2.3-1.module_el8.6.0+3167+957ef55e) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.2.3-1.module_el8.5.0+2595+0c654ebc (fixed in 1.2.3-1.module_el8.5.0+2595+0c654ebc) |
| AlmaLinux:8 | rubygem-power_assert | All versions before 1.1.7-138.module_el8.6.0+3263+904da987 (fixed in 1.1.7-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-psych | All versions before 3.1.0-138.module_el8.6.0+3263+904da987 (fixed in 3.1.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-rake | All versions before 13.0.1-138.module_el8.6.0+3263+904da987 (fixed in 13.0.1-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-rdoc | All versions before 6.2.1.1-138.module_el8.6.0+3263+904da987 (fixed in 6.2.1.1-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-test-unit | All versions before 3.3.4-138.module_el8.6.0+3263+904da987 (fixed in 3.3.4-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygem-xmlrpc | All versions before 0.3.0-138.module_el8.6.0+3263+904da987 (fixed in 0.3.0-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygems | All versions before 3.1.6-138.module_el8.6.0+3263+904da987 (fixed in 3.1.6-138.module_el8.6.0+3263+904da987) |
| AlmaLinux:8 | rubygems-devel | All versions before 3.1.6-138.module_el8.6.0+3263+904da987 (fixed in 3.1.6-138.module_el8.6.0+3263+904da987) |
References
- https://access.redhat.com/errata/RHSA-2022:6447
- https://access.redhat.com/security/cve/CVE-2021-41817
- https://access.redhat.com/security/cve/CVE-2021-41819
- https://access.redhat.com/security/cve/CVE-2022-28739
- https://bugzilla.redhat.com/2025104
- https://bugzilla.redhat.com/2026757
- https://bugzilla.redhat.com/2075687
- https://bugzilla.redhat.com/2109424
- https://errata.almalinux.org/8/ALSA-2022-6447.html