MediumGHSA-p8p7-x288-28g6CVE-2023-28155
Server-Side Request Forgery in Request
Published 16 Mar 2023 · Updated 10 Sept 2026
Affected packages
requestnpm
- Affected
- <=2.88.2
- Fixed in
- No fix released
- Affected
- <3.0.0
- Fixed in
- 3.0.0
Update to the fixed version for your release line, for example:
npm install @cypress/request@3.0.0Details
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.
Is GHSA-p8p7-x288-28g6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected request, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-28155
- Linkgithub.com/request/request/issues/3442
- Linkgithub.com/cypress-io/request/pull/28
- Linkgithub.com/github/advisory-database/pull/2500
- Linkgithub.com/request/request/pull/3444
- Linkgithub.com/cypress-io/request/commit/c5bcf21d40fb61feaff21a0e5a2b3934a440024f
- Linkdoyensec.com/resources/Doyensec_Advisory_RequestSSRF_Q12023.pdf
- Linkgithub.com/cypress-io/request/blob/master/lib/redirect.js#L116
- Linkgithub.com/cypress-io/request/releases/tag/v3.0.0
- Packagegithub.com/request/request
- Linkgithub.com/request/request/blob/master/lib/redirect.js#L111
- Linksecurity.netapp.com/advisory/ntap-20230413-0007
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.