Description
isomorphic-git before 1.42.0 contains a prototype pollution vulnerability in the getRemoteInfo function that allows a malicious Git server operator to pollute Object.prototype by advertising crafted ref names containing '__proto__' path segments during ref negotiation. Attackers controlling a Git server can advertise a specially crafted ref such as '__proto__/corsProxy' to reroute all subsequent network operations through an attacker-controlled proxy, causing isomorphic-git to invoke the victim's onAuth callback and transmit credentials to the attacker when the victim calls getRemoteInfo with an attacker-supplied URL.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
isomorphic-git isomorphic-git
Default version status: unaffected
0 to < 1.42.0affected
pkg:github/isomorphic-git/isomorphic-gitReferences
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-83vg-jxvh-fx76 ↗
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.42.0 ↗
- https://github.com/isomorphic-git/isomorphic-git/pull/2426 ↗
- https://github.com/isomorphic-git/isomorphic-git/commit/b3db111885230bac9a648e0a2312c65ca66f76eb ↗
- https://www.vulncheck.com/advisories/isomorphic-git-prototype-pollution-via-getremoteinfo ↗