CVE-2019-16777
npm Vulnerable to Global node_modules Binary Overwrite
7.7
HIGH
CVSS 3.1
EPSS 0.59%
描述
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.
如何修補 CVE-2019-16777
要修補 CVE-2019-16777,請將受影響套件升級到下列已修補版本。
- —升級至 6.13.4+ds-2 或更新版本
- —升級至 6.13.4 或更新版本
CVE-2019-16777 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 6.13.4+ds-2
- from 0, < 6.13.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |