# GHSA-v45m-2wcp-gg98: Global node_modules Binary Overwrite in bin-links

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-04T17:18:44.000Z
- Modified: 2020-08-31T18:59:19.000Z

## Description

Versions of  `bin-links` prior to 1.1.6 are vulnerable to a Global node_modules Binary Overwrite. It fails to prevent globally-installed binaries to be overwritten by other package installs. For example, if a package was installed globally and created a `serve` binary, any subsequent installs of packages that also create a `serve` binary would overwrite the first binary. This behavior is still allowed in local installations.


## Recommendation

Upgrade to version 1.1.6 or later.

(As written by GitHub Advisory Database.)

## Affected

- bin-links (npm): before 1.1.6

## References

- <https://www.npmjs.com/advisories/1438> (web)

## Sources

- GitHub Advisory Database: [GHSA-v45m-2wcp-gg98](https://github.com/advisories/GHSA-v45m-2wcp-gg98), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-v45m-2wcp-gg98 · Whole record: https://cve.day/GHSA-v45m-2wcp-gg98.json · Rebuilt by cve.day 2026-11-25T22:56:46.570Z
