• 公告ID (KylinSec-SA-2025-1612)

摘要:

nodejs security update

安全等级: Medium

公告ID: KylinSec-SA-2025-1612

发布日期: 2025年3月18日

关联CVE: CVE-2024-22018   CVE-2024-22020  

  • 详细介绍

1. 漏洞描述

   

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, affecting users of the experimental permission model when the --allow-fs-read flag is used.
This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to.
This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.(CVE-2024-22018)

A security flaw in Node.js allows a bypass of network import restrictions.
By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security.
Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports.
Exploiting this flaw can violate network import security, posing a risk to developers and servers.(CVE-2024-22020)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-22018 V6 nodejs Fixed
CVE-2024-22020 V6 nodejs Fixed

3. 影响组件

    nodejs

4. 修复版本

   

V6

软件名称 架构 版本号
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

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

     nodejs-docs   

     nodejs   

     nodejs-devel   

     nodejs-full-i18n   

     nodejs-libs   

     npm   

     v8-devel   

aarch64:

     nodejs-docs   

     nodejs   

     nodejs-devel   

     nodejs-full-i18n   

     nodejs-libs   

     npm   

     v8-devel   

上一篇:KylinSec-SA-2025-1611 下一篇:KylinSec-SA-2025-1613