Skip to content

Symlink reference outside of node_modules in bin-links

low severity Published Sep 4, 2020

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

GHSA ID

GHSA-2mj8-pj3j-h362