A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc…
- github.com /isomorphic-git/isomorphic-git/pull/2370
- github.com /isomorphic-git/isomorphic-git/releases/tag/v1.38.6
- github.com /isomorphic-git/isomorphic-git/security/advisories/GHSA-9qw…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning