GHSA-v45m-2wcp-gg98

Suggest an improvement
Source
https://github.com/advisories/GHSA-v45m-2wcp-gg98
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-v45m-2wcp-gg98/GHSA-v45m-2wcp-gg98.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v45m-2wcp-gg98
Published
2020-09-04T17:18:44Z
Modified
2020-08-31T18:59:19Z
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.

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:59:19Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

npm / bin-links

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-v45m-2wcp-gg98/GHSA-v45m-2wcp-gg98.json"