CVE-2021-23664:
Server side request forgery in @isomorphic-git/cors-proxy
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.50679%
CWE
Published
1/26/2022
Updated
2/3/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
@isomorphic-git/cors-proxy | npm | < 2.7.1 | 2.7.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues in middleware.js
: 1) The fetch call followed redirects automatically (default behavior) by not setting 'redirect: manual', enabling SSRF through malicious 3xx responses. 2) Lack of Location header processing allowed internal redirect targets. The patch added both redirect:manual
and Location header sanitization, confirming these were the vulnerable points. The middleware
's request proxying function
is the entry point for SSRF exploitation.