Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-git-server
  4. ›
  5. GMS-2020-405

GMS-2020-405: Unauthorized File Access in node-git-server

September 3, 2020 (updated September 29, 2021)

Versions of node-git-server are vulnerable to Unauthorized File Access. It is possible to access any git repository by using absolute paths, which may allow attackers to access private repositories. Upgrade to or later.

References

  • github.com/advisories/GHSA-cv3v-7846-6pxm
  • github.com/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43
  • github.com/gabrielcsapo/node-git-server/pull/62
  • snyk.io/vuln/SNYK-JS-NODEGITSERVER-474343
  • www.npmjs.com/advisories/1214

Code Behaviors & Features

Detect and mitigate GMS-2020-405 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 0.6.1

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Source file

npm/node-git-server/GMS-2020-405.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:58 +0000.