Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bin-links
  4. ›
  5. GMS-2020-104

GMS-2020-104: Arbitrary File Write in bin-links

September 4, 2020

Versions of bin-links are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended node_modules folder through the bin field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist. ## Recommendation

References

  • github.com/advisories/GHSA-gqf6-75v8-vr26
  • www.npmjs.com/advisories/1427

Code Behaviors & Features

Detect and mitigate GMS-2020-104 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.5

Fixed versions

  • 1.1.5

Solution

Upgrade to version 1.1.5 or above.

Source file

npm/bin-links/GMS-2020-104.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.