GHSA-cv3v-7846-6pxm
HIGH 7.5CVSS 3.1Unauthorized File Access in node-git-server
Versions of node-git-server prior to 0.6.1 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.
Recommendation
Upgrade to version 0.6.1 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-git-server | >= 0.2.0, < 0.6.1 | 0.6.1 |
References
- https://github.com/gabrielcsapo/node-git-server/pull/62 · WEB
- https://github.com/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43 · WEB
- https://github.com/gabrielcsapo/node-git-server/commit/fb8d62710e3d78c796e04a33fcff66cea3f212f3 · WEB
- https://github.com/gabrielcsapo/node-git-server · PACKAGE
- https://github.com/gabrielcsapo/node-git-server/blob/0.2.0/lib/git.js · WEB
- https://github.com/gabrielcsapo/node-git-server/tree/0.1.0 · WEB
- https://snyk.io/vuln/SNYK-JS-NODEGITSERVER-474343 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)