isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)
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-9qw7-j9xw-fv9c | isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.716% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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 |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| 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 git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6. | |
| Title | isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE) | |
| Weaknesses | CWE-22 CWE-59 |
|
| References |
|
|
| Metrics |
cvssV3_1
|