Skip to content

Global node_modules Binary Overwrite in bin-links

Low severity GitHub Reviewed Published Sep 4, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm bin-links (npm)

Affected versions

< 1.1.6

Patched versions

1.1.6

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.

Recommendation

Upgrade to version 1.1.6 or later.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 4, 2020
Last updated Jan 9, 2023

Severity

Low

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-v45m-2wcp-gg98

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.