Server-side Request Forgery (SSRF) Affecting @cypress/request package, versions <3.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CYPRESSREQUEST-5871337
  • published17 Mar 2023
  • disclosed16 Mar 2023
  • creditSzymonDrosdzol

Introduced: 16 Mar 2023

CVE-2023-28155  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @cypress/request to version 3.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to insufficient checks in the lib/redirect.js file by allowing insecure redirects in the default configuration, via an attacker-controller server that does a cross-protocol redirect (HTTP to HTTPS, or HTTPS to HTTP).

NOTE: request package has been deprecated, so a fix is not expected. See https://github.com/request/request/issues/3142.

CVSS Scores

version 3.1