Amazon Linux 2023:nodejs20、nodejs20-devel、nodejs20-full-i18n (ALAS2023-2025-1010)

medium Nessus 插件 ID 238264

简介

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

描述

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

当 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)

llhttp 中不当的 HTTP 标头区块终止会启用请求走私并允许攻击者绕过基于代理的访问控制并提交未经授权的请求。此漏洞仅影响进行 llhttp v9 升级之前的 Node.js 20.x 用户。

Info: https://nodejs.org/en/blog/vulnerability/may-2025-security-releases#improper-http-header-block-termination-in-llhttp-cve-2025-23167---medium (CVE-2025-23167)

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 nodejs20 --releasever 2023.7.20250609”以更新系统。

另见

https://alas.aws.amazon.com/AL2023/ALAS-2025-1010.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-23167.html

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

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

插件详情

严重性: Medium

ID: 238264

文件名: al2023_ALAS2023-2025-1010.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

风险因素: Medium

基本分数: 6.4

时间分数: 4.7

矢量: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS 分数来源: CVE-2025-23167

CVSS v3

风险因素: Medium

基本分数: 6.5

时间分数: 5.7

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

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

必需的 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-23167, CVE-2025-47279