摘要:
ruby security update
安全等级: Medium
公告ID: KylinSec-SA-2025-1639
发布日期: 2025年3月18日
关联CVE: CVE-2025-25186
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):
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed `uid-set` data which is automatically read by the client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.(CVE-2025-25186)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-25186 | V6 | ruby | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
ruby-help | noarch | 3.2.2-148.ks6 |
ruby-irb | noarch | 3.2.2-148.ks6 |
rubygem-did_you_mean | noarch | 1.6.3-148.ks6 |
rubygem-minitest | noarch | 5.16.3-148.ks6 |
rubygem-rake | noarch | 13.0.6-148.ks6 |
rubygem-rdoc | noarch | 6.5.0-148.ks6 |
rubygem-rexml | noarch | 3.2.5-148.ks6 |
rubygem-rss | noarch | 0.2.9-148.ks6 |
rubygem-test-unit | noarch | 3.5.7-148.ks6 |
rubygem-typeprof | noarch | 0.21.3-148.ks6 |
rubygems | noarch | 3.4.10-148.ks6 |
rubygems-devel | noarch | 3.4.10-148.ks6 |
ruby | x86_64 | 3.2.2-148.ks6 |
ruby-bundled-gems | x86_64 | 3.2.2-148.ks6 |
ruby-devel | x86_64 | 3.2.2-148.ks6 |
rubygem-bigdecimal | x86_64 | 3.1.3-148.ks6 |
rubygem-io-console | x86_64 | 0.6.0-148.ks6 |
rubygem-json | x86_64 | 2.6.3-148.ks6 |
rubygem-openssl | x86_64 | 3.1.0-148.ks6 |
rubygem-psych | x86_64 | 5.0.1-148.ks6 |
rubygem-rbs | x86_64 | 2.8.2-148.ks6 |
ruby | aarch64 | 3.2.2-148.ks6 |
ruby-bundled-gems | aarch64 | 3.2.2-148.ks6 |
ruby-devel | aarch64 | 3.2.2-148.ks6 |
rubygem-bigdecimal | aarch64 | 3.1.3-148.ks6 |
rubygem-io-console | aarch64 | 0.6.0-148.ks6 |
rubygem-json | aarch64 | 2.6.3-148.ks6 |
rubygem-openssl | aarch64 | 3.1.0-148.ks6 |
rubygem-psych | aarch64 | 5.0.1-148.ks6 |
rubygem-rbs | aarch64 | 2.8.2-148.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名