Unauthorized File Access Affecting node package, versions [12.0.0,12.14.0)[10.0.0,10.18.0)[8.0.0,8.17.0)[13.0.0,13.4.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.33% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UPSTREAM-NODE-538287
  • published12 Dec 2019
  • disclosed11 Dec 2019
  • creditDaniel Ruf

Introduced: 11 Dec 2019

CVE-2019-16775  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade node to version 12.14.0, 10.18.0, 8.17.0, 13.4.0 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Unauthorized File Access. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation.

For npm, 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 behaviour is possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

CVSS Base Scores

version 3.1