AlmaLinux Security Advisory
ALSA-2021:2587
Moderate: ruby:2.5 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.5.9). (BZ#1952626)
Security Fix(es):
- 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | rubygem-abrt | All versions before 0.3.0-4.module_el8.5.0+2625+ec418553 (fixed in 0.3.0-4.module_el8.5.0+2625+ec418553) |
| 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-abrt-doc | All versions before 0.3.0-4.module_el8.5.0+2625+ec418553 (fixed in 0.3.0-4.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.3.0-2.module_el8.5.0+2625+ec418553 (fixed in 4.3.0-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-bson | All versions before 4.3.0-2.module_el8.5.0+259+8cec6917 (fixed in 4.3.0-2.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-bson-doc | All versions before 4.3.0-2.module_el8.5.0+2625+ec418553 (fixed in 4.3.0-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-bson-doc | All versions before 4.3.0-2.module_el8.5.0+259+8cec6917 (fixed in 4.3.0-2.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-mongo | All versions before 2.5.1-2.module_el8.5.0+259+8cec6917 (fixed in 2.5.1-2.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-mongo | All versions before 2.5.1-2.module_el8.5.0+2625+ec418553 (fixed in 2.5.1-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-mongo-doc | All versions before 2.5.1-2.module_el8.5.0+2625+ec418553 (fixed in 2.5.1-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-mongo-doc | All versions before 2.5.1-2.module_el8.5.0+259+8cec6917 (fixed in 2.5.1-2.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.4.10-4.module_el8.5.0+259+8cec6917 (fixed in 0.4.10-4.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-mysql2 | All versions before 0.4.10-4.module_el8.5.0+2625+ec418553 (fixed in 0.4.10-4.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.4.10-4.module_el8.5.0+2625+ec418553 (fixed in 0.4.10-4.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-mysql2-doc | All versions before 0.4.10-4.module_el8.5.0+259+8cec6917 (fixed in 0.4.10-4.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.0.0-2.module_el8.5.0+2625+ec418553 (fixed in 1.0.0-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-pg | All versions before 1.0.0-2.module_el8.5.0+259+8cec6917 (fixed in 1.0.0-2.module_el8.5.0+259+8cec6917) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.0.0-2.module_el8.5.0+2625+ec418553 (fixed in 1.0.0-2.module_el8.5.0+2625+ec418553) |
| AlmaLinux:8 | rubygem-pg-doc | All versions before 1.0.0-2.module_el8.5.0+259+8cec6917 (fixed in 1.0.0-2.module_el8.5.0+259+8cec6917) |
References
- https://access.redhat.com/errata/RHSA-2021:2587
- 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/1952626
- https://bugzilla.redhat.com/1955010
- https://errata.almalinux.org/8/ALSA-2021-2587.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-2020-10663
- https://vulners.com/cve/CVE-2020-10933
- https://vulners.com/cve/CVE-2020-25613
- https://vulners.com/cve/CVE-2021-28965