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

high Nessus 插件 ID 238268

简介

远程 Amazon Linux 2023 主机缺少安全更新。

描述

因此,该软件受到 ALAS2023-2025-1009 公告中提及的多个漏洞影响。

当 args[0] 为字符串时node::fs::ReadFileUtf8(const FunctionCallbackInfo<Value>& args) 中存在损坏的指针造成每次调用时发生不可恢复的内存泄漏。重复使用可造成无限的内存增长,从而导致拒绝服务。

Info: 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)

异步加密操作中的不当错误处理可导致进程崩溃

Info: 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 的系统的应用程序容易受到攻击。如果攻击者使用无效的证书设置服务器并且他们可以强制应用程序重复调用 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

插件详情

严重性: 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