Access Restriction Bypass Affecting npm package, versions <5.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th 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 IDnpm:npm:20180222
  • published21 Mar 2018
  • disclosed22 Feb 2018
  • creditUnknown

Introduced: 22 Feb 2018

CVE-2018-7408  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade npm to version 5.7.1 or higher.

Overview

npm is a package manager for JavaScript.

Affected versions of this package are vulnerable to Access Restriction Bypass. It might allow local users to bypass intended filesystem access restrictions due to ownerships of /etc and /usr directories are being changed unexpectedly, related to a "correctMkdir" issue.

CVSS Base Scores

version 3.1