GHSA-cv3v-7846-6pxm json
Unauthorized File Access in node-git-server
published 6y ago modified 3mo ago
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm node-git-server 0.6.1
Is GHSA-cv3v-7846-6pxm in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-git-server | >=0.2.0, <0.6.1 |
0.6.1 |
Classification
- Weakness
-
- CWE-552 Files or Directories Accessible to External Parties
References
-
github.com
/gabrielcsapo/node-git-server/pull/62
web
-
github.com
/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43
web
-
github.com
/gabrielcsapo/node-git-server/commit/fb8d62710e3d78c796e04a33fcff66cea3f212f3
web
-
github.com
/gabrielcsapo/node-git-server
package
-
github.com
/gabrielcsapo/node-git-server/blob/0.2.0/lib/git.js
web
-
github.com
/gabrielcsapo/node-git-server/tree/0.1.0
web
-
snyk.io
/vuln/SNYK-JS-NODEGITSERVER-474343
web
Sources
- GitHub Advisory GHSA-cv3v-7846-6pxm
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.