摘要:
nodejs security update
安全等级: Medium
公告ID: KylinSec-SA-2025-1625
发布日期: 2025年3月18日
关联CVE: CVE-2025-23084 CVE-2025-23085
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Security Fix(es):
A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment. Certain Node.js functions do not treat drive names as special on Windows. As a result, although Node.js assumes a relative path, it actually refers to the root directory.
On Windows, a path that does not start with the file separator is treated as relative to the current directory.
This vulnerability affects Windows users of `path.join` API.(CVE-2025-23084)
A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain conditions.
This vulnerability affects HTTP/2 Server users on Node.js v18.x, v20.x, v22.x and v23.x.(CVE-2025-23085)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-23084 | V6 | nodejs | Fixed |
CVE-2025-23085 | V6 | nodejs | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
nodejs-docs | noarch | 20.18.2-1.ks6 |
nodejs | x86_64 | 20.18.2-1.ks6 |
nodejs-devel | x86_64 | 20.18.2-1.ks6 |
nodejs-full-i18n | x86_64 | 20.18.2-1.ks6 |
nodejs-libs | x86_64 | 20.18.2-1.ks6 |
npm | x86_64 | 10.8.2-1.20.18.2.1.ks6 |
v8-devel | x86_64 | 11.3.244.8-1.20.18.2.1.ks6 |
nodejs | aarch64 | 20.18.2-1.ks6 |
nodejs-devel | aarch64 | 20.18.2-1.ks6 |
nodejs-full-i18n | aarch64 | 20.18.2-1.ks6 |
nodejs-libs | aarch64 | 20.18.2-1.ks6 |
npm | aarch64 | 10.8.2-1.20.18.2.1.ks6 |
v8-devel | aarch64 | 11.3.244.8-1.20.18.2.1.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名