CVE-2019-16776 (CNNVD-201912-666)

HIGH
中文标题:
npm CLI 路径遍历漏洞
英文标题:
Unauthorized File Access in npm CLI before before version 6.13.3
CVSS分数: 7.7
发布时间: 2019-12-13 00:55:16
漏洞类型: 路径遍历
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

npm CLI是美国npm公司的一款软件包管理器。 npm CLI 6.13.3之前版本中存在路径遍历漏洞。攻击者可借助package.json文件的bin字段利用该漏洞访问node_modules文件夹之外的文件夹。

英文描述:

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

CWE类型:
CWE-22
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
npm cli - < 6.13.3 - cpe:2.3:a:npm:cli:*:*:*:*:*:*:*:*
npmjs npm * - - cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
opensuse leap 15.1 - - cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
oracle graalvm 19.3.0.2 - - cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
fedoraproject fedora 31 - - cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 - - cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.1 - - cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
openSUSE-SU-2020:0059 vendor-advisory
cve.org
访问
FEDORA-2020-595ce5e3cc vendor-advisory
cve.org
访问
RHEA-2020:0330 vendor-advisory
cve.org
访问
RHSA-2020:0573 vendor-advisory
cve.org
访问
RHSA-2020:0579 vendor-advisory
cve.org
访问
RHSA-2020:0597 vendor-advisory
cve.org
访问
RHSA-2020:0602 vendor-advisory
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.7
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
机密性
HIGH
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2019-12-13 00:55:16
修改时间:
2024-08-05 01:24:48
创建时间:
2025-11-11 15:35:37
更新时间:
2025-11-11 15:55:19
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2019-16776 2025-11-11 15:20:04 2025-11-11 07:35:37
NVD nvd_CVE-2019-16776 2025-11-11 14:56:30 2025-11-11 07:44:08
CNNVD cnnvd_CNNVD-201912-666 2025-11-11 15:10:20 2025-11-11 07:55:19
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:55:19
vulnerability_type: 未提取 → 路径遍历; cnnvd_id: 未提取 → CNNVD-201912-666; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 路径遍历
  • cnnvd_id: 未提取 -> CNNVD-201912-666
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:44:08
affected_products_count: 1 → 7; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 7
  • data_sources: ['cve'] -> ['cve', 'nvd']