CVE-2018-7408 Details
Description
An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://blog.npmjs.org/post/171169301000/v571 | CVE | Vendor Advisory |
| https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0 | CVE | Third Party Advisory |
| https://github.com/npm/npm/issues/19883 | CVE | Issue TrackingThird Party Advisory |
| http://blog.npmjs.org/post/171169301000/v571 | [email protected] | Vendor Advisory |
| https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0 | [email protected] | Third Party Advisory |
| https://github.com/npm/npm/issues/19883 | [email protected] | Issue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| npmjs npm | 5.7.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Mar 20, 2018 | Initial Analysis | [email protected] |
| Feb 24, 2018 | CVE Modified | [email protected] |