isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in isomorphic-git 1.38.6.
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git persists server-supplied circular symref= capabilities through updateRemoteRefs, and GitRefManager.resolve() follows the resulting loose symbolic references without a default depth limit or cycle detection. After a clone from a malicious or man-in-the-middle-controlled remote, operations such as log, status, checkout, and branch that resolve refs/remotes/origin/a or refs/remotes/origin/b do not terminate. The circular references remain on disk, leaving the repository unusable for the application and causing a persistent denial of service. This issue is fixed in version 1.38.6.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| isomorphic-git | <1.38.6 | ||
| npm: isomorphic-git | <1.38.6, <=1.38.5 | 1.38.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in isomorphic-git (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket