MEDIUM6.1
GHSA-p8p7-x288-28g6
Server-Side Request Forgery in Request
Quick fix
GHSA-p8p7-x288-28g6 — @cypress/request: upgrade to the fixed version with the command below.
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/request
Introduced in:
0No fixed version published yet for request (npm). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28155[ADVISORY]
- https://github.com/request/request/issues/3442[WEB]
- https://github.com/cypress-io/request/pull/28[WEB]
- https://github.com/github/advisory-database/pull/2500[WEB]
- https://github.com/request/request/pull/3444[WEB]
- https://github.com/cypress-io/request/commit/c5bcf21d40fb61feaff21a0e5a2b3934a440024f[WEB]
- https://doyensec.com/resources/Doyensec_Advisory_RequestSSRF_Q12023.pdf[WEB]
- https://github.com/cypress-io/request/blob/master/lib/redirect.js#L116[WEB]
- https://github.com/cypress-io/request/releases/tag/v3.0.0[WEB]
- https://github.com/request/request[PACKAGE]
- https://github.com/request/request/blob/master/lib/redirect.js#L111[WEB]
- https://security.netapp.com/advisory/ntap-20230413-0007[WEB]