{"id":"GHSA-v45m-2wcp-gg98","aliases":[],"status":"published","title":"Global node_modules Binary Overwrite in bin-links","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.\n\n\n## Recommendation\n\nUpgrade to version 1.1.6 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-09-04T17:18:44Z","modified":"2023-01-09T05:04:12Z","fixes":[{"ecosystem":"npm","package":"bin-links","fixed_in":["1.1.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"bin-links","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.6"}]}]},{"source":"osv","ecosystem":"npm","package":"bin-links","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.6"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1438","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v45m-2wcp-gg98"}],"sources":{"ghsa":[{"id":"GHSA-v45m-2wcp-gg98","title":"Global node_modules Binary Overwrite in bin-links","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.\n\n\n## Recommendation\n\nUpgrade to version 1.1.6 or later.","status":"published","published":"2020-09-04T17:18:44Z","modified":"2023-01-09T05:04:12Z","updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-v45m-2wcp-gg98","title":"Global node_modules Binary Overwrite in bin-links","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.\n\n\n## Recommendation\n\nUpgrade to version 1.1.6 or later.","status":"published","published":"2020-09-04T17:18:44Z","modified":"2020-08-31T18:59:19Z","updated_at":"2026-11-02T15:46:56.639206Z"}]}}
