7.8

CVE-2018-7408: npmjs npm

CVSS: 7.8v3.0HighModified
AliasesCGA-3wp3-9q98-w78fCGA-9284-3383-rq97CGA-rhr4-mhw8-6mpp
Published 22-02-2018Last modified 05-08-2024
Some data may be incomplete
  • 1 reference with an unsupported link type was hidden.

Vulnerability summary

CVE-2018-7408 is a high (CVSS 7.8) vulnerability in npmjs npm. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.4% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.0 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 9

Timeline

  1. 22-02-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

0.00 pp

From 0.32% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard72 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.3All versions (No fix recorded)
Wolfi2 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
Npm1 product
  • npm< 5.7.1
Npmjs1 product

4 vendors · 76 products

References

4 links