AlmaLinux Security Advisory
ALSA-2021:2588
Moderate: ruby:2.6 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.6.7). (BZ#1952627)
Security Fix(es):
- rubygem-bundler: Insecure permissions on directory in /tmp/ allows for execution of malicious code (CVE-2019-3881)
- ruby: NUL injection vulnerability of File.fnmatch and File.fnmatch? (CVE-2019-15845)
- ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication (CVE-2019-16201)
- ruby: Code injection via command argument of Shell#test / Shell#[] (CVE-2019-16255)
- rubygem-json: Unsafe object creation vulnerability in JSON (CVE-2020-10663)
- ruby: BasicSocket#read_nonblock method leads to information disclosure (CVE-2020-10933)
- ruby: Potential HTTP request smuggling in WEBrick (CVE-2020-25613)
- ruby: XML round-trip vulnerability in REXML (CVE-2021-28965)
- ruby: HTTP response splitting in WEBrick (CVE-2019-16254)
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.
Bug Fix(es):
- Resolv::DNS: ruby:2.6/ruby: timeouts if multiple IPv6 name servers are given and address contains leading zero [almalinux-8] (BZ#1954968)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | rubygem-abrt | All versions before 0.3.0-4.module_el8.5.0+259+8cec6917 (fixed in 0.3.0-4.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-abrt | All versions before 0.3.0-4.module_el8.5.0+2623+08a8ba32 (fixed in 0.3.0-4.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-abrt-doc | All versions before 0.3.0-4.module_el8.5.0+259+8cec6917 (fixed in 0.3.0-4.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-abrt-doc | All versions before 0.3.0-4.module_el8.5.0+2623+08a8ba32 (fixed in 0.3.0-4.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.5.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 4.5.0-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.5.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 4.5.0-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-bson-doc | All versions before 4.5.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 4.5.0-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-bson-doc | All versions before 4.5.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 4.5.0-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-mongo | All versions before 2.8.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 2.8.0-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-mongo | All versions before 2.8.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 2.8.0-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-mongo-doc | All versions before 2.8.0-1.module_el8.5.0+250+ba22dbf7 (fixed in 2.8.0-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-mongo-doc | All versions before 2.8.0-1.module_el8.5.0+2623+08a8ba32 (fixed in 2.8.0-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.2-1.module_el8.5.0+250+ba22dbf7 (fixed in 0.5.2-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.5.2-1.module_el8.5.0+2623+08a8ba32 (fixed in 0.5.2-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.5.2-1.module_el8.5.0+250+ba22dbf7 (fixed in 0.5.2-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.5.2-1.module_el8.5.0+2623+08a8ba32 (fixed in 0.5.2-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.1.4-1.module_el8.5.0+250+ba22dbf7 (fixed in 1.1.4-1.module_el8.5.0+250+ba22dbf7) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.1.4-1.module_el8.5.0+2623+08a8ba32 (fixed in 1.1.4-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.1.4-1.module_el8.5.0+2623+08a8ba32 (fixed in 1.1.4-1.module_el8.5.0+2623+08a8ba32) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.1.4-1.module_el8.5.0+250+ba22dbf7 (fixed in 1.1.4-1.module_el8.5.0+250+ba22dbf7) |
References
- https://access.redhat.com/errata/RHSA-2021:2588
- https://bugzilla.redhat.com/1651826
- https://bugzilla.redhat.com/1773728
- https://bugzilla.redhat.com/1789407
- https://bugzilla.redhat.com/1789556
- https://bugzilla.redhat.com/1793683
- https://bugzilla.redhat.com/1827500
- https://bugzilla.redhat.com/1833291
- https://bugzilla.redhat.com/1883623
- https://bugzilla.redhat.com/1947526
- https://bugzilla.redhat.com/1952627
- https://bugzilla.redhat.com/1954968
- https://errata.almalinux.org/8/ALSA-2021-2588.html
- https://vulners.com/cve/CVE-2019-15845
- https://vulners.com/cve/CVE-2019-16201
- https://vulners.com/cve/CVE-2019-16254
- https://vulners.com/cve/CVE-2019-16255
- https://vulners.com/cve/CVE-2019-3881
- https://vulners.com/cve/CVE-2020-10663
- https://vulners.com/cve/CVE-2020-10933
- https://vulners.com/cve/CVE-2020-25613
- https://vulners.com/cve/CVE-2021-28965