RHEL 8:ruby:3.1 (RHSA-2024:1431)

high Nessus Plugin ID 192287

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的多個套件受到 RHSA-2024:1431 公告中提及的多個弱點影響。

- Ruby 的 cgi gem 0.1.0.2 之前版本、0.2.2 之前的 0.2.x 版和 0.3.5 之前的 0.3.x 版允許分割 HTTP 回應。這與使用未受信任的使用者輸入來產生 HTTP 回應或建立 CGI::Cookie 物件的應用程式相關。(CVE-2021-33621)

- rubygem-uri:ReDoS 弱點 - 上游 (CVE-2023-28755) 的不完整修復

- 在 Ruby 3.2.1 以及之前的所有版本中,發現 0.2.1 版及其之前所有版本的 Time 元件中存在 ReDoS 問題。Time 剖析器未正確處理具有特定字元的無效 URL,這導致將字串剖析為 Time 物件的執行時間增加。修正後的版本是 0.1.1 和 0.2.2。(CVE-2023-28756)

- 在適用於 Ruby 的 URI 元件 0.12.2 之前版本中發現 ReDoS 問題。URI 剖析器未正確處理具有特定字元的無效 URL,使用 rfc2396_parser.rb 和 rfc3986_parser.rb 將字串剖析為 URI 物件時執行時間有所增加。注意:此問題之所以存在,是因為 CVE-2023-28755 的修復不完整。 0.10.3 版也是修正過的版本。(CVE-2023-36617)

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

更新受影響的套件。

另請參閱

http://www.nessus.org/u?4e4701b3

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-2024:1431

https://bugzilla.redhat.com/show_bug.cgi?id=2149706

https://bugzilla.redhat.com/show_bug.cgi?id=2184059

https://bugzilla.redhat.com/show_bug.cgi?id=2184061

https://bugzilla.redhat.com/show_bug.cgi?id=2218614

Plugin 詳細資訊

嚴重性: High

ID: 192287

檔案名稱: redhat-RHSA-2024-1431.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2024/3/19

已更新: 2024/4/28

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 9

時間分數: 7

媒介: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2021-33621

CVSS v3

風險因素: High

基本分數: 8.8

時間分數: 7.9

媒介: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:ruby-devel, p-cpe:/a:redhat:enterprise_linux:rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rubygem-irb, p-cpe:/a:redhat:enterprise_linux:rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rubygem-rexml, p-cpe:/a:redhat:enterprise_linux:ruby-bundled-gems, p-cpe:/a:redhat:enterprise_linux:rubygem-json, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:rubygems, p-cpe:/a:redhat:enterprise_linux:ruby, p-cpe:/a:redhat:enterprise_linux:rubygem-abrt, p-cpe:/a:redhat:enterprise_linux:rubygem-mysql2, p-cpe:/a:redhat:enterprise_linux:rubygem-mysql2-doc, p-cpe:/a:redhat:enterprise_linux:rubygem-test-unit, p-cpe:/a:redhat:enterprise_linux:rubygems-devel, p-cpe:/a:redhat:enterprise_linux:rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rubygem-psych, p-cpe:/a:redhat:enterprise_linux:ruby-doc, p-cpe:/a:redhat:enterprise_linux:rubygem-pg-doc, p-cpe:/a:redhat:enterprise_linux:ruby-default-gems, p-cpe:/a:redhat:enterprise_linux:rubygem-rss, p-cpe:/a:redhat:enterprise_linux:rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rubygem-pg, p-cpe:/a:redhat:enterprise_linux:rubygem-power_assert, p-cpe:/a:redhat:enterprise_linux:rubygem-typeprof, p-cpe:/a:redhat:enterprise_linux:rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rubygem-rbs, p-cpe:/a:redhat:enterprise_linux:ruby-libs, p-cpe:/a:redhat:enterprise_linux:rubygem-bundler, p-cpe:/a:redhat:enterprise_linux:rubygem-abrt-doc

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2024/3/19

弱點發布日期: 2022/11/18

參考資訊

CVE: CVE-2021-33621, CVE-2023-28755, CVE-2023-28756, CVE-2023-36617

CWE: 113, 185, 20

RHSA: 2024:1431