First published: Thu Feb 22 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Npmjs Npm | =5.7.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-7408 refers to an issue that was discovered in an npm 5.7.0 pre-release, allowing local users to bypass intended filesystem access restrictions.
CVE-2018-7408 has a severity score of 7.8, which is considered high.
Only version 5.7.0 of npm is affected by CVE-2018-7408.
To fix CVE-2018-7408, update npm to a version that is not affected by the vulnerability.
You can find more information about CVE-2018-7408 in the vendor's blog post and GitHub commit and issues.