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.
CVE-2023-28155 - Medium Severity Vulnerability
Vulnerable Libraries - request-2.88.0.tgz, request-2.83.0.tgz, request-2.79.0.tgz, request-2.49.0.tgz, request-2.9.202.tgz
request-2.88.0.tgz
Simplified HTTP request client.
Library home page: https://registry.npmjs.org/request/-/request-2.88.0.tgz
Path to dependency file: /PrestaShop/tests/E2E/package.json
Path to vulnerable library: /tests/E2E/package.json
Dependency Hierarchy: - webdriverio-4.14.4.tgz (Root Library) - :x: **request-2.88.0.tgz** (Vulnerable Library)
request-2.83.0.tgz
Simplified HTTP request client.
Library home page: https://registry.npmjs.org/request/-/request-2.83.0.tgz
Path to dependency file: /PrestaShop/tests/Selenium/package.json
Path to vulnerable library: /tests/Selenium/package.json
Dependency Hierarchy: - :x: **request-2.83.0.tgz** (Vulnerable Library)
request-2.79.0.tgz
Simplified HTTP request client.
Library home page: https://registry.npmjs.org/request/-/request-2.79.0.tgz
Path to dependency file: /PrestaShop/tests/E2E/package.json
Path to vulnerable library: /tests/E2E/package.json
Dependency Hierarchy: - selenium-standalone-6.14.0.tgz (Root Library) - :x: **request-2.79.0.tgz** (Vulnerable Library)
request-2.49.0.tgz
Simplified HTTP request client.
Library home page: https://registry.npmjs.org/request/-/request-2.49.0.tgz
Path to dependency file: /PrestaShop/tests/Selenium/package.json
Path to vulnerable library: /tests/Selenium/package.json
Dependency Hierarchy: - webdriverio-3.4.0.tgz (Root Library) - :x: **request-2.49.0.tgz** (Vulnerable Library)
request-2.9.202.tgz
Simplified HTTP request client.
Library home page: https://registry.npmjs.org/request/-/request-2.9.202.tgz
Path to dependency file: /PrestaShop/tests/E2E/package.json
Path to vulnerable library: /tests/E2E/package.json
Dependency Hierarchy: - req-0.1.4.tgz (Root Library) - :x: **request-2.9.202.tgz** (Vulnerable Library)
Found in HEAD commit: bb7465065dfeed9f49bb99b6901ab933563af739
Found in base branch: develop
Vulnerability Details
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.
Publish Date: 2023-03-16
URL: CVE-2023-28155
CVSS 3 Score Details (6.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-p8p7-x288-28g6
Release Date: 2023-03-16
Fix Resolution: @cypress/request - 3.0.0
Step up your Open Source Security Game with Mend here