Lucene search

K
cveGitHub_MCVE-2019-16775
HistoryDec 13, 2019 - 1:15 a.m.

CVE-2019-16775

2019-12-1301:15:10
CWE-61
CWE-59
GitHub_M
web.nvd.nist.gov
201
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

Nvd
Vulners
Node
redhatenterprise_linuxMatch8.0
OR
redhatenterprise_linux_eusMatch8.1
Node
npmjsnpmRange<6.13.3
Node
opensuseleapMatch15.1
Node
oraclegraalvmMatch19.3.0.2enterprise
OR
oraclegraalvmMatch20.3.3enterprise
OR
oraclegraalvmMatch21.2.2enterprise
Node
fedoraprojectfedoraMatch31
VendorProductVersionCPE
redhatenterprise_linux8.0cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhatenterprise_linux_eus8.1cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
npmjsnpm*cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
opensuseleap15.1cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
oraclegraalvm19.3.0.2cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
oraclegraalvm20.3.3cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*
oraclegraalvm21.2.2cpe:2.3:a:oracle:graalvm:21.2.2:*:*:*:enterprise:*:*:*
fedoraprojectfedora31cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*

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%