GitHub Advisoryadvisory · npm
GHSA-p8p7-x288-28g6 Server-Side Request Forgery in Request
MEDIUM
Official page ↗
- Aliases
- CVE-2023-28155
- Ecosystem
- npm
- Packages
- request, @cypress/request
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-918
- Reviewed
- 2023-03-16
Affected packages
• npm request: <= 2.88.2 (no fix yet)
• npm @cypress/request: < 3.0.0 → fixed in 3.0.0
Description
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.
Related
Alias · CVE (1)
- CVE-2023-28155 The Request package through 2.88.1 for Node.js allows a bypass of SSRF mitigations via an attacker-controller server that does a… vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
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