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 reads a server-controlled targetSize while applying a packfile delta in src/utils/applyDelta.js and passes it without a bound to Buffer.alloc(targetSize). A malicious or man-in-the-middle-controlled remote can send one delta header that causes git.clone() or git.fetch() to allocate approximately 2 GB before validating the actual delta output. GitPackIndex.fromPack swallows the later size-mismatch error, so a host with sufficient memory may retain the resource waste without a visible failure, while containers, serverless functions, and small virtual machines may terminate. Node.js heap limits do not mitigate the off-heap Buffer allocation. 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-9x8…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning