Access Restriction Bypass Affecting npm package, versions <5.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • 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 Scores

version 3.1