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.8, git cherry-pick applies tree changes through applyTreeChanges in src/utils/walkerToTreeEntryMap.js without checking whether a leading path component is a symbolic link. If a victim worktree contains a tracked symlink to a location outside the worktree and a cherry-picked tree places a file beneath that path, the write follows the symlink and materializes attacker-controlled blob content at the external destination. This allows arbitrary file writes and can cause data tampering, code injection into interpreted files, privilege escalation, denial of service, or follow-on code execution depending on the selected target path. This issue is fixed in version 1.38.8.
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/4664c8e1147c3c7ba87c0…
- github.com /isomorphic-git/isomorphic-git/pull/2377
- github.com /isomorphic-git/isomorphic-git/releases/tag/v1.38.8
- github.com /isomorphic-git/isomorphic-git/security/advisories/GHSA-pvh…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning