CVE catalog

CVE-2018-7408

npm: CVE-2018-7408

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
0.32% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannpmsid12.2.0+ds1-1not affected
Debiannpmforky12.2.0+ds1-1not affected
Debiannpmtrixie9.2.0~ds1-3not affected
Debiannpmbookworm9.2.0~ds1-1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebiannpmsourcesidNot affectedunimportantNot reportedNot reported
DebiannpmsourceforkyNot affectedunimportantNot reportedNot reported
DebiannpmsourcetrixieNot affectedunimportantNot reportedNot reported
DebiannpmsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [npm]Not affected
    Details (2)
    • 9.2.0~ds1-1 · all · bookworm

      Not affected

      dsa · npm · debian · bookworm

    • 9.2.0~ds1-1 · all · bookworm

      Not affected

      dsa · npm · debian · bookworm

Observed:

References