{"id":"GHSA-gqf6-75v8-vr26","aliases":[],"status":"published","title":"Arbitrary File Write in bin-links","description":"Versions of `bin-links` prior to 1.1.5 are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended `node_modules` folder through the `bin` field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist.\n\n\n## Recommendation\n\nUpgrade to version 1.1.5 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-09-04T16:56:11Z","modified":"2023-01-09T05:03:52Z","fixes":[{"ecosystem":"npm","package":"bin-links","fixed_in":["1.1.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"bin-links","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5"}]}]},{"source":"osv","ecosystem":"npm","package":"bin-links","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.5"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1427","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gqf6-75v8-vr26"}],"sources":{"ghsa":[{"id":"GHSA-gqf6-75v8-vr26","title":"Arbitrary File Write in bin-links","description":"Versions of `bin-links` prior to 1.1.5 are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended `node_modules` folder through the `bin` field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist.\n\n\n## Recommendation\n\nUpgrade to version 1.1.5 or later.","status":"published","published":"2020-09-04T16:56:11Z","modified":"2023-01-09T05:03:52Z","updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-gqf6-75v8-vr26","title":"Arbitrary File Write in bin-links","description":"Versions of `bin-links` prior to 1.1.5 are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended `node_modules` folder through the `bin` field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist.\n\n\n## Recommendation\n\nUpgrade to version 1.1.5 or later.","status":"published","published":"2020-09-04T16:56:11Z","modified":"2020-08-31T18:58:56Z","updated_at":"2026-11-02T15:46:48.191583Z"}]}}
