Amazon Linux 2023:ruby3.2、ruby3.2-bundled-gems、ruby3.2-default-gems (ALAS2023-2025-1115)

medium Nessus Plugin ID 243482

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,此版本會受到 ALAS2023-2025-1115 公告中提及的一個弱點影響。

Ruby WEBrick read_header HTTP 要求走私弱點。此弱點允許遠端攻擊者在受影響的 Ruby WEBrick 安裝上走私任意 HTTP 要求。將產品部署在符合特定條件的 HTTP Proxy 後面時,此問題就很容易遭到惡意利用。

具體缺陷存在於 read_headers 方法中。此問題是因為 HTTP 標頭的終止字元剖析不一致所導致。攻擊者可利用此弱點走私任意 HTTP 要求。為 ZDI-CAN-21876。 (CVE-2025-6442)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

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

解決方案

執行「dnf update ruby3.2 --releasever 2023.8.20250728」以更新系統。

另請參閱

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1115.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2025-6442.html

Plugin 詳細資訊

嚴重性: Medium

ID: 243482

檔案名稱: al2023_ALAS2023-2025-1115.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/8/4

已更新: 2025/8/4

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

風險資訊

VPR

風險因素: Medium

分數: 4.2

CVSS v2

風險因素: Medium

基本分數: 6.1

時間性分數: 4.5

媒介: CVSS2#AV:N/AC:H/Au:N/C:P/I:C/A:N

CVSS 評分資料來源: CVE-2025-6442

CVSS v3

風險因素: Medium

基本分數: 6.5

時間性分數: 5.7

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

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:ruby3.2-libs-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygem-power_assert, p-cpe:/a:amazon:linux:ruby3.2-bundled-gems, p-cpe:/a:amazon:linux:ruby3.2-rubygem-bigdecimal, p-cpe:/a:amazon:linux:ruby3.2-rubygem-psych, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rdoc, p-cpe:/a:amazon:linux:ruby3.2-rubygem-psych-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygem-json, p-cpe:/a:amazon:linux:ruby3.2, p-cpe:/a:amazon:linux:ruby3.2-rubygem-io-console, p-cpe:/a:amazon:linux:ruby3.2-rubygem-bundler, p-cpe:/a:amazon:linux:ruby3.2-doc, p-cpe:/a:amazon:linux:ruby3.2-libs, p-cpe:/a:amazon:linux:ruby3.2-rubygem-irb, p-cpe:/a:amazon:linux:ruby3.2-rubygems, p-cpe:/a:amazon:linux:ruby3.2-default-gems, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rexml, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rake, p-cpe:/a:amazon:linux:ruby3.2-devel, p-cpe:/a:amazon:linux:ruby3.2-bundled-gems-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rbs-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-debugsource, p-cpe:/a:amazon:linux:ruby3.2-rubygem-json-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygem-bigdecimal-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygem-minitest, p-cpe:/a:amazon:linux:ruby3.2-rubygem-typeprof, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rbs, p-cpe:/a:amazon:linux:ruby3.2-rubygem-test-unit, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:ruby3.2-rubygem-io-console-debuginfo, p-cpe:/a:amazon:linux:ruby3.2-rubygems-devel, p-cpe:/a:amazon:linux:ruby3.2-rubygem-rss, p-cpe:/a:amazon:linux:ruby3.2-debuginfo

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2025/8/4

弱點發布日期: 2025/6/25

參考資訊

CVE: CVE-2025-6442