Skip to content
Fencer Intel
critical 9.8

GHSA-jxf5-7x3j-8j9m json

Malicious Package in load-from-cwd-or-npm

published 6y ago modified 5y ago

cvss
9.8
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

Version 3.0.2 of `load-from-cwd-or-npm` contains malicious code. The malware breaks functionality of the `purescript-installer` package by injecting targeted code.

## Recommendation

Upgrade to version 3.0.4 or later. There is no indication of further compromise.

Patch / fix

  • npm load-from-cwd-or-npm 3.0.4

Is GHSA-jxf5-7x3j-8j9m in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm load-from-cwd-or-npm
>=3.0.2, <3.0.4
3.0.4

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.