GHSA-2mj8-pj3j-h362 json
Symlink reference outside of node_modules in bin-links
published 6y ago modified 6y ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
Versions of `bin-links` prior to 1.1.5 are vulnerable to a Symlink reference outside of node_modules. It is possible to create symlinks to files outside of the`node_modules` folder through the `bin` field. This may allow attackers to access unauthorized files.
## Recommendation
Upgrade to version 1.1.5 or later.
Patch / fix
- npm bin-links 1.1.5
Is GHSA-2mj8-pj3j-h362 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 FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | bin-links | <1.1.5 |
1.1.5 |
References
Sources
- GitHub Advisory GHSA-2mj8-pj3j-h362
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.