7.8

CVE-2018-7408: npmjs npm

Modified
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 26.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.0 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

27%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard77 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 · 81 products

References

4 links