• 公告ID (KylinSec-SA-2022-2094)

摘要:

nodejs security update

安全等级: Medium

公告ID: KylinSec-SA-2022-2094

发布日期: 2022年9月23日

关联CVE: CVE-2021-22918  

  • 详细介绍

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

Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().(CVE-2021-22918)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2021-22918 KY3.4-4A nodejs Fixed

3. 影响组件

    nodejs

4. 修复版本

   

KY3.4-4A

软件名称 架构 版本号
nodejs-docs noarch 12.22.11-1.kb1.ky3
nodejs-libs x86_64 12.22.11-1.kb1.ky3
nodejs-full-i18n x86_64 12.22.11-1.kb1.ky3
nodejs x86_64 12.22.11-1.kb1.ky3
npm x86_64 6.14.16-1.12.22.11.1.kb1.ky3
v8-devel x86_64 7.8.279.23-1.12.22.11.1.kb1.ky3
nodejs-devel x86_64 12.22.11-1.kb1.ky3
v8-devel aarch64 7.8.279.23-1.12.22.11.1.kb1.ky3
nodejs-devel aarch64 12.22.11-1.kb1.ky3
nodejs-libs aarch64 12.22.11-1.kb1.ky3
nodejs aarch64 12.22.11-1.kb1.ky3
npm aarch64 6.14.16-1.12.22.11.1.kb1.ky3
nodejs-full-i18n aarch64 12.22.11-1.kb1.ky3

5. 修复方法


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

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

6. 下载链接

   

KY3.4-4A:

x86_64:

     nodejs-docs   

     nodejs-libs   

     nodejs-full-i18n   

     nodejs   

     npm   

     v8-devel   

     nodejs-devel   

aarch64:

     nodejs-docs   

     v8-devel   

     nodejs-devel   

     nodejs-libs   

     nodejs   

     npm   

     nodejs-full-i18n   

上一篇:KylinSec-SA-2022-2093 下一篇:KylinSec-SA-2022-2095