服务支持

loophole

安全补丁公告

当前位置  >  首页  >  服务支持  >  安全补丁公告

公告ID(KYSA-202109-1019

摘要:ruby漏洞 安全等级:中等 公告ID:KYSA-202109-1019 发布日期:2021-09-10 影响CVE:CVE-2021-31799、CVE-2021-31810、CVE-2021-32066

详细介绍

1. 修复的CVE信息

  • CVE-2021-31799

    描述:在 6.3.1 之前的 RDoc 3.11 到 6.x 中,随着 Ruby 到 3.0.1 分发,可以通过 | 执行任意代码和文件名中的标签。

  • CVE-2021-31810

    描述:在 Ruby 2.6.7、2.7.x 至 2.7.3 和 3.x 至 3.0.1 中发现了一个问题。恶意 FTP 服务器可以使用 PASV 响应来欺骗 Net::FTP 连接回给定的 IP 地址和端口。这可能使 curl 提取有关其他私有且未公开的服务的信息(例如,攻击者可以进行端口扫描和服务横幅提取)。

  • CVE-2021-32066

    描述:在 Ruby 2.6.7、2.7.x 至 2.7.3 和 3.x 至 3.0.1 中发现了一个问题。当 StartTLS 失败并返回未知响应时,Net::IMAP 不会引发异常,这可能允许中间人攻击者通过利用客户端和注册表之间的网络位置来阻止 StartTLS 命令来绕过 TLS 保护,又名“StartTLS 剥离攻击”。


2. 影响的操作系统及修复版本

  • 银河麒麟高级服务器操作系统 V10 SP1

ruby-2.5.8-114.ky10

ruby-debugsource-2.5.8-114.ky10

ruby-devel-2.5.8-114.ky10

ruby-help-2.5.8-114.ky10

ruby-irb-2.5.8-114.ky10

rubygem-bigdecimal-1.3.4-114.ky10

rubygem-did_you_mean-1.2.0-114.ky10

rubygem-io-console-0.4.6-114.ky10

rubygem-json-2.1.0-114.ky10

rubygem-minitest-5.10.3-114.ky10

rubygem-net-telnet-0.1.1-114.ky10

rubygem-openssl-2.1.2-114.ky10

rubygem-power_assert-1.1.1-114.ky10

rubygem-psych-3.0.2-114.ky10

rubygem-rake-12.3.0-114.ky10

rubygem-rdoc-6.0.1.1-114.ky10

rubygem-test-unit-3.2.7-114.ky10

rubygem-xmlrpc-0.3.0-114.ky10

rubygems-2.7.6-114.ky10

rubygems-devel-2.7.6-114.ky10

  • 银河麒麟高级服务器操作系统 V10 SP2

ruby-2.5.8-114.ky10

ruby-debugsource-2.5.8-114.ky10

ruby-devel-2.5.8-114.ky10

ruby-help-2.5.8-114.ky10

ruby-irb-2.5.8-114.ky10

rubygem-bigdecimal-1.3.4-114.ky10

rubygem-did_you_mean-1.2.0-114.ky10

rubygem-io-console-0.4.6-114.ky10

rubygem-json-2.1.0-114.ky10

rubygem-minitest-5.10.3-114.ky10

rubygem-net-telnet-0.1.1-114.ky10

rubygem-openssl-2.1.2-114.ky10

rubygem-power_assert-1.1.1-114.ky10

rubygem-psych-3.0.2-114.ky10

rubygem-rake-12.3.0-114.ky10

rubygem-rdoc-6.0.1.1-114.ky10

rubygem-test-unit-3.2.7-114.ky10

rubygem-xmlrpc-0.3.0-114.ky10

rubygems-2.7.6-114.ky10

rubygems-devel-2.7.6-114.ky10


3. 受影响的软件包

银河麒麟高级服务器操作系统 V10 SP1

  • aarch64:ruby、ruby-debugsource、ruby-devel、ruby-help、ruby-irb、rubygem-bigdecimal、rubygem-did_you_mean、rubygem-io-console、rubygem-json、rubygem-minitest、rubygem-net-telnet、rubygem-openssl、rubygem-power_assert、rubygem-psych、rubygem-rake、rubygem-rdoc、rubygem-test-unit、rubygem-xmlrpc、rubygems、rubygems-devel

  • x86_64:ruby、ruby-debugsource、ruby-devel、ruby-help、ruby-irb、rubygem-bigdecimal、rubygem-did_you_mean、rubygem-io-console、rubygem-json、rubygem-minitest、rubygem-net-telnet、rubygem-openssl、rubygem-power_assert、rubygem-psych、rubygem-rake、rubygem-rdoc、rubygem-test-unit、rubygem-xmlrpc、rubygems、rubygems-devel

银河麒麟高级服务器操作系统 V10 SP2

  • aarch64:ruby、ruby-debugsource、ruby-devel、ruby-help、ruby-irb、rubygem-bigdecimal、rubygem-did_you_mean、rubygem-io-console、rubygem-json、rubygem-minitest、rubygem-net-telnet、rubygem-openssl、rubygem-power_assert、rubygem-psych、rubygem-rake、rubygem-rdoc、rubygem-test-unit、rubygem-xmlrpc、rubygems、rubygems-devel

  • x86_64:ruby、ruby-debugsource、ruby-devel、ruby-help、ruby-irb、rubygem-bigdecimal、rubygem-did_you_mean、rubygem-io-console、rubygem-json、rubygem-minitest、rubygem-net-telnet、rubygem-openssl、rubygem-power_assert、rubygem-psych、rubygem-rake、rubygem-rdoc、rubygem-test-unit、rubygem-xmlrpc、rubygems、rubygems-devel


4. 修复方法

方法一:配置源进行升级安装

1.打开软件包源配置文件,根据仓库地址进行修改。

仓库源地址:

银河麒麟高级服务器操作系统 V10 SP1

aarch64:http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/

x86_64:http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/

银河麒麟高级服务器操作系统 V10 SP2

aarch64:http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/

x86_64:http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/

2.配置完成后执行更新命令进行升级,命令如下:yum update Packagename

方法二:下载安装包进行升级安装

通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表进行升级安装,命令如下:yum install Packagename


5. 软件包下载地址

  • 银河麒麟高级服务器操作系统 V10 SP1

 ruby aarch64软件包下载地址:

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/ruby-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/ruby-debugsource-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/ruby-devel-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/ruby-help-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/ruby-irb-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-bigdecimal-1.3.4-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-did_you_mean-1.2.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-io-console-0.4.6-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-json-2.1.0-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-minitest-5.10.3-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-net-telnet-0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-openssl-2.1.2-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-power_assert-1.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-psych-3.0.2-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-rake-12.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-rdoc-6.0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-test-unit-3.2.7-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygem-xmlrpc-0.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygems-2.7.6-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/rubygems-devel-2.7.6-114.ky10.noarch.rpm

 ruby x86_64软件包下载地址:

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/ruby-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/ruby-debugsource-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/ruby-devel-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/ruby-help-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/ruby-irb-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-bigdecimal-1.3.4-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-did_you_mean-1.2.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-io-console-0.4.6-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-json-2.1.0-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-minitest-5.10.3-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-net-telnet-0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-openssl-2.1.2-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-power_assert-1.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-psych-3.0.2-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-rake-12.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-rdoc-6.0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-test-unit-3.2.7-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygem-xmlrpc-0.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygems-2.7.6-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/rubygems-devel-2.7.6-114.ky10.noarch.rpm

  • 银河麒麟高级服务器操作系统 V10 SP2

 ruby aarch64软件包下载地址:

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/ruby-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/ruby-debugsource-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/ruby-devel-2.5.8-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/ruby-help-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/ruby-irb-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-bigdecimal-1.3.4-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-did_you_mean-1.2.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-io-console-0.4.6-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-json-2.1.0-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-minitest-5.10.3-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-net-telnet-0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-openssl-2.1.2-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-power_assert-1.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-psych-3.0.2-114.ky10.aarch64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-rake-12.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-rdoc-6.0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-test-unit-3.2.7-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygem-xmlrpc-0.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygems-2.7.6-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/rubygems-devel-2.7.6-114.ky10.noarch.rpm

 ruby x86_64软件包下载地址:

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ruby-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ruby-debugsource-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ruby-devel-2.5.8-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ruby-help-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ruby-irb-2.5.8-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-bigdecimal-1.3.4-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-did_you_mean-1.2.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-io-console-0.4.6-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-json-2.1.0-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-minitest-5.10.3-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-net-telnet-0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-openssl-2.1.2-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-power_assert-1.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-psych-3.0.2-114.ky10.x86_64.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-rake-12.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-rdoc-6.0.1.1-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-test-unit-3.2.7-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygem-xmlrpc-0.3.0-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygems-2.7.6-114.ky10.noarch.rpm

http://update.cs2c.com.cn:8080/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/rubygems-devel-2.7.6-114.ky10.noarch.rpm

注:其他相关依赖包请到相同目录下载

 


上一篇: KYSA-202109-1018 下一篇: KYSA-202109-1020

试用

服务

动态

联系