Skip to content
OpenAdvisories
Low GHSA-gqf6-75v8-vr26

Arbitrary File Write in bin-links

Published Sep 4, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

## Recommendation

Upgrade to version 1.1.5 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm bin-links < 1.1.5 1.1.5 GHSA-gqf6-75v8-vr26

References