• 公告ID (KylinSec-SA-2025-2444)

摘要:

ruby security update

安全等级: High

公告ID: KylinSec-SA-2025-2444

发布日期: 2025年3月14日

关联CVE: CVE-2025-27219   CVE-2025-27221   CVE-2025-27220  

  • 详细介绍

1. 漏洞描述

   

Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).

Security Fix(es):

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 to excessive resource consumption when parsing extremely large cookies.(CVE-2025-27219)

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.(CVE-2025-27220)

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.(CVE-2025-27221)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2025-27219 V6 ruby Fixed
CVE-2025-27221 V6 ruby Fixed
CVE-2025-27220 V6 ruby Fixed

3. 影响组件

    ruby

4. 修复版本

   

V6

软件名称 架构 版本号
ruby-help noarch 3.2.2-149.ks6
ruby-irb noarch 3.2.2-149.ks6
rubygem-did_you_mean noarch 1.6.3-149.ks6
rubygem-minitest noarch 5.16.3-149.ks6
rubygem-rake noarch 13.0.6-149.ks6
rubygem-rdoc noarch 6.5.0-149.ks6
rubygem-rexml noarch 3.2.5-149.ks6
rubygem-rss noarch 0.2.9-149.ks6
rubygem-test-unit noarch 3.5.7-149.ks6
rubygem-typeprof noarch 0.21.3-149.ks6
rubygems noarch 3.4.10-149.ks6
rubygems-devel noarch 3.4.10-149.ks6
ruby x86_64 3.2.2-149.ks6
ruby-bundled-gems x86_64 3.2.2-149.ks6
ruby-devel x86_64 3.2.2-149.ks6
rubygem-bigdecimal x86_64 3.1.3-149.ks6
rubygem-io-console x86_64 0.6.0-149.ks6
rubygem-json x86_64 2.6.3-149.ks6
rubygem-openssl x86_64 3.1.0-149.ks6
rubygem-psych x86_64 5.0.1-149.ks6
rubygem-rbs x86_64 2.8.2-149.ks6
ruby aarch64 3.2.2-149.ks6
ruby-bundled-gems aarch64 3.2.2-149.ks6
ruby-devel aarch64 3.2.2-149.ks6
rubygem-bigdecimal aarch64 3.1.3-149.ks6
rubygem-io-console aarch64 0.6.0-149.ks6
rubygem-json aarch64 2.6.3-149.ks6
rubygem-openssl aarch64 3.1.0-149.ks6
rubygem-psych aarch64 5.0.1-149.ks6
rubygem-rbs aarch64 2.8.2-149.ks6

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

     ruby-help   

     ruby-irb   

     rubygem-did_you_mean   

     rubygem-minitest   

     rubygem-rake   

     rubygem-rdoc   

     rubygem-rexml   

     rubygem-rss   

     rubygem-test-unit   

     rubygem-typeprof   

     rubygems   

     rubygems-devel   

     ruby   

     ruby-bundled-gems   

     ruby-devel   

     rubygem-bigdecimal   

     rubygem-io-console   

     rubygem-json   

     rubygem-openssl   

     rubygem-psych   

     rubygem-rbs   

aarch64:

     ruby-help   

     ruby-irb   

     rubygem-did_you_mean   

     rubygem-minitest   

     rubygem-rake   

     rubygem-rdoc   

     rubygem-rexml   

     rubygem-rss   

     rubygem-test-unit   

     rubygem-typeprof   

     rubygems   

     rubygems-devel   

     ruby   

     ruby-bundled-gems   

     ruby-devel   

     rubygem-bigdecimal   

     rubygem-io-console   

     rubygem-json   

     rubygem-openssl   

     rubygem-psych   

     rubygem-rbs   

上一篇:KylinSec-SA-2025-2443 下一篇:KylinSec-SA-2025-2445