isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| isomorphic-git | isomorphic-git | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Isomorphic-git | Isomorphic-git |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cw2g-2vwq-88w6 | isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.295% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Isomorphic-git
Isomorphic-git isomorphic-git |
|
| Vendors & Products |
Isomorphic-git
Isomorphic-git isomorphic-git |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's tree parser in src/models/GitTree.js accepts a standalone .. tree-entry name because it rejects only path separators. During clone or checkout from a malicious or man-in-the-middle-controlled non-GitHub remote, nested .. entries can escape the working-tree root and write files at attacker-selected parent paths on any host-backed fs provider. The arbitrary file write can overwrite startup or configuration files and lead to code execution. GitHub-hosted trees are not a direct source because GitHub rejects .. entries during repository integrity checks. This issue is fixed in version 1.38.6. | |
| Title | isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout | |
| Weaknesses | CWE-22 | |
| References |
|
|
| Metrics |
cvssV3_1
|