Advisory

GHSA-v45m-2wcp-gg98

Also known as: None

Summary

Global node_modules Binary Overwrite in bin-links

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-09-04 17:18 UTC
Modified
2020-08-31 18:59 UTC

Affected packages and fixes

bin-links

npm · All systems

Affected

  • introduced 0, fixed 1.1.6 (semver)

Fixed versions

1.1.6

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