Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. npm
  4. ›
  5. CVE-2018-7408

CVE-2018-7408: Incorrect Permission Assignment for Critical Resource

February 22, 2018 (updated October 3, 2019)

This vulnerability might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a correctMkdir issue.

References

  • blog.npmjs.org/post/171169301000/v571
  • github.com/npm/npm/issues/19883
  • nvd.nist.gov/vuln/detail/CVE-2018-7408

Code Behaviors & Features

Detect and mitigate CVE-2018-7408 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 5.7.0

Fixed versions

  • 5.7.1

Solution

Upgrade to version 5.7.1 or above.

Impact 7.8 HIGH

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

npm/npm/CVE-2018-7408.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.