Lucene search

K
cve[email protected]CVE-2019-16775
HistoryDec 13, 2019 - 1:15 a.m.

CVE-2019-16775

2019-12-1301:15:10
CWE-59
CWE-61
web.nvd.nist.gov
195
2
cve-2019-16775
npm cli
vulnerability
arbitrary file write
npm
security
nvd

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS3

7.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

AI Score

6.8

Confidence

High

EPSS

0.002

Percentile

55.7%

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing 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.

Affected configurations

Vulners
NVD
Node
npmcliRange<6.13.3
VendorProductVersionCPE
redhatenterprise_linux_eus8.1cpe:/o:redhat:enterprise_linux_eus:8.1:::
redhatenterprise_linux8.0cpe:/o:redhat:enterprise_linux:8.0:::

CNA Affected

[
  {
    "product": "cli",
    "vendor": "npm",
    "versions": [
      {
        "lessThan": "6.13.3",
        "status": "affected",
        "version": "< 6.13.3",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS3

7.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

AI Score

6.8

Confidence

High

EPSS

0.002

Percentile

55.7%