Skip to content

Symlink reference outside of node_modules 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.5

Patched versions

1.1.5

Description

Versions of bin-links prior to 1.1.5 are vulnerable to a Symlink reference outside of node_modules. It is possible to create symlinks to files outside of thenode_modules folder through the bin field. This may allow attackers to access unauthorized files.

Recommendation

Upgrade to version 1.1.5 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-2mj8-pj3j-h362

Source code

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