CVE-2019-16777 (CNNVD-201912-667)
中文标题:
npm CLI 输入验证错误漏洞
英文标题:
Arbitrary File Overwrite in npm CLI
漏洞描述
中文描述:
npm CLI是美国npm公司的一款软件包管理器。 npm CLI 6.13.4之前版本中存在输入验证错误漏洞。该漏洞源于网络系统或产品未对输入的数据进行正确的验证。
英文描述:
Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a serve binary, any subsequent installs of packages that also create a serve binary would overwrite the previous serve binary. This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| npm | cli | - | < 6.13.4 | - |
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:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2019-16777 |
2025-11-11 15:20:04 | 2025-11-11 07:35:37 |
| NVD | nvd_CVE-2019-16777 |
2025-11-11 14:56:30 | 2025-11-11 07:44:08 |
| CNNVD | cnnvd_CNNVD-201912-667 |
2025-11-11 15:10:20 | 2025-11-11 07:55:19 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 输入验证错误
- cnnvd_id: 未提取 -> CNNVD-201912-667
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 7
- data_sources: ['cve'] -> ['cve', 'nvd']