medium6.1
CVE-2023-28155
Server-Side Request Forgery in Request
Impact
The `request` package through 2.88.2 for Node.js and the `@cypress/request` package prior to 3.0.0 allow a bypass of SSRF mitigations via an attacker-controller server that does a cross-protocol redirect (HTTP to HTTPS, or HTTPS to HTTP). NOTE: The `request` package is no longer supported by the maintainer.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | request | <= 2.88.2 | none recorded |
| npm | @cypress/request | <= 2.88.12 | 3.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Request Project | Request | through 2.88.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://doyensec.com/resources/Doyensec_Advisory_RequestSSRF_Q12023.pdf
- https://github.com/request/request/issues/3442
- https://github.com/request/request/pull/3444
- https://security.netapp.com/advisory/ntap-20230413-0007/
- https://github.com/advisories/GHSA-p8p7-x288-28g6
- https://nvd.nist.gov/vuln/detail/CVE-2023-28155
- https://github.com/github/advisory-database/pull/2500
- https://github.com/cypress-io/request/blob/master/lib/redirect.js#L116
- https://github.com/request/request/blob/master/lib/redirect.js#L111
- https://github.com/cypress-io/request/pull/28
- https://github.com/cypress-io/request/commit/c5bcf21d40fb61feaff21a0e5a2b3934a440024f
- https://github.com/cypress-io/request/releases/tag/v3.0.0
- https://security.netapp.com/advisory/ntap-20230413-0007