Amazon Linux 2023nodejs22、nodejs22-devel、nodejs22-full-i18n (ALAS2023-2025-1009)

high Nessus Plugin ID 238268

概要

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

說明

因此,會受到 ALAS2023-2025-1009 公告中所提及的多個弱點影響。

當 args[0] 為字串時node::fs::ReadFileUtf8(const FunctionCallbackInfo<Value>& args) 中的指標損毀導致每次呼叫時都會發生無法復原的記憶體洩漏。重複使用可造成記憶體無限增加,進而導致拒絕服務。

資訊 https://nodejs.org/en/blog/vulnerability/may-2025-security-releases#corrupted-pointer-in-nodefsreadfileutf8const-functioncallbackinfovalue-args-when-args0-is-a-string-cve-2025-23165---low(CVE-2025-23165)

非同步密碼編譯作業中的不當錯誤處理使處理程序損毀

資訊 https://nodejs.org/en/blog/vulnerability/may-2025-security-releases#improper-error-handling-in-async-cryptographic-operations-crashes-process-cve-2025-23166---high(CVE-2025-23166)

Undici 是 Node.js 的 HTTP/1.1 用戶端。在 5.29.0、 6.21.2和 7.5.0版之前使用 undici 實作 webhook-like 系統的應用程式容易受到影響。如果攻擊者使用無效的憑證設定伺服器且可強制應用程式重複呼叫 webhook則可造成記憶體洩漏。此問題已在 5.29.0、 6.21.2和 7.5.0版中修補。解決方法是避免在 webhook 失敗時重複呼叫 webhook。 (CVE-2025-47279)

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

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

解決方案

執行「dnf update nodejs22 --releasever 2023.7.20250609」以更新系統。

另請參閱

https://alas.aws.amazon.com/AL2023/ALAS-2025-1009.html

https://alas.aws.amazon.com/cve/html/CVE-2025-23165.html

https://alas.aws.amazon.com/cve/html/CVE-2025-23166.html

https://alas.aws.amazon.com/cve/html/CVE-2025-47279.html

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

Plugin 詳細資訊

嚴重性: High

ID: 238268

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

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/6/12

已更新: 2025/6/12

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

風險資訊

VPR

風險因素: Low

分數: 3.6

CVSS v2

風險因素: High

基本分數: 7.8

時間性分數: 5.8

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

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

CVSS v3

風險因素: High

基本分數: 7.5

時間性分數: 6.5

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

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:nodejs22-debugsource, p-cpe:/a:amazon:linux:nodejs22-libs-debuginfo, p-cpe:/a:amazon:linux:v8-12.4-devel, p-cpe:/a:amazon:linux:nodejs22-docs, p-cpe:/a:amazon:linux:nodejs22-devel, p-cpe:/a:amazon:linux:nodejs22-libs, p-cpe:/a:amazon:linux:nodejs22-npm, p-cpe:/a:amazon:linux:nodejs22, p-cpe:/a:amazon:linux:nodejs22-full-i18n, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:nodejs22-debuginfo

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2025/6/10

弱點發布日期: 2025/5/14

參考資訊

CVE: CVE-2025-23165, CVE-2025-23166, CVE-2025-47279