Skip to content
OpenAdvisories
Medium RLSA-2021:2584 2 CVEs

Moderate: ruby:2.7 security, bug fix, and enhancement update

Published Jun 29, 2021 · Updated Feb 4, 2026

Summary

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.3). (BZ#1951999)

Security Fix(es):

* ruby: Potential HTTP request smuggling in WEBrick (CVE-2020-25613)

* ruby: XML round-trip vulnerability in REXML (CVE-2021-28965)

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.7/ruby: timeouts if multiple IPv6 name servers are given and address contains leading zero [Rocky Linux-8] (BZ#1952000)

Fixed packages 14

ReleasePackageFixed in
Rocky Linux · 8 ruby 0:2.7.3-136.module+el8.4.0+594+11b6673a
Rocky Linux · 8 rubygem-abrt 0:0.4.0-1.module+el8.5.0+668+665814fa
Rocky Linux · 8 rubygem-abrt 0:0.4.0-1.module+el8.4.0+411+b946f28c
Rocky Linux · 8 rubygem-abrt 0:0.4.0-1.module+el8.4.0+594+11b6673a
Rocky Linux · 8 rubygem-bson 0:4.8.1-1.module+el8.4.0+594+11b6673a
Rocky Linux · 8 rubygem-bson 0:4.8.1-1.module+el8.4.0+411+b946f28c
Rocky Linux · 8 rubygem-mongo 0:2.11.3-1.module+el8.4.0+594+11b6673a
Rocky Linux · 8 rubygem-mongo 0:2.11.3-1.module+el8.4.0+411+b946f28c
Rocky Linux · 8 rubygem-mysql2 0:0.5.3-1.module+el8.5.0+668+665814fa
Rocky Linux · 8 rubygem-mysql2 0:0.5.3-1.module+el8.4.0+411+b946f28c
Rocky Linux · 8 rubygem-mysql2 0:0.5.3-1.module+el8.4.0+594+11b6673a
Rocky Linux · 8 rubygem-pg 0:1.2.3-1.module+el8.5.0+668+665814fa
Rocky Linux · 8 rubygem-pg 0:1.2.3-1.module+el8.4.0+411+b946f28c
Rocky Linux · 8 rubygem-pg 0:1.2.3-1.module+el8.4.0+594+11b6673a

Vulnerabilities 2

  • High 7.5
    CVE-2020-25613 Public exploit

    WEBRick vulnerable to HTTP Request/Response Smuggling

    An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypa…

  • High 7.5

    REXML round-trip instability

    The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1883623
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1947526
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1951999
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1952000