CVE-2023-28155:
Server-Side Request Forgery in Request
6.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
3/16/2023
Updated
3/21/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
request | npm | <= 2.88.2 | |
@cypress/request | npm | <= 2.88.12 | 3.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure handling of cross-protocol redirects in the redirect.js module. The key vulnerable code was in Redirect.prototype.onResponse where protocol changes were allowed without validation. The commit diff shows the addition of 'allowInsecureRedirect' check to gate this behavior, confirming this was the vulnerable path. The CVE description explicitly cites cross-protocol redirect handling as the exploit mechanism, and the patch directly modifies this function to add security controls.