Advisory

GHSA-gqf6-75v8-vr26

Also known as: None

Summary

Arbitrary File Write in bin-links

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-09-04 16:56 UTC
Modified
2020-08-31 18:58 UTC

Affected packages and fixes

bin-links

npm · All systems

Affected

  • introduced 0, fixed 1.1.5 (semver)

Fixed versions

1.1.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences