Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) unreachable #274

Closed
mend-for-github-com bot opened this issue Jun 6, 2022 · 3 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jun 6, 2022

Vulnerable Library - request-2.88.2.tgz

Simplified HTTP request client.

Library home page: https://registry.npmjs.org/request/-/request-2.88.2.tgz

Path to dependency file: /sample/SipInterconnect/package.json

Path to vulnerable library: /sample/SipInterconnect/node_modules/request/package.json

Found in HEAD commit: a7f0948738582b190c10062a408e10b28b6ec75d

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (request version) Remediation Possible** Reachability
CVE-2023-26136 Critical 9.8 Not Defined 0.1% tough-cookie-2.5.0.tgz Transitive N/A*

Unreachable

CVE-2023-28155 Medium 6.1 Not Defined 0.1% request-2.88.2.tgz Direct @cypress/request - 3.0.0

Unreachable

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-26136

Vulnerable Library - tough-cookie-2.5.0.tgz

RFC6265 Cookies and Cookie Jar for node.js

Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz

Path to dependency file: /sample/SipInterconnect/package.json

Path to vulnerable library: /sample/SipInterconnect/node_modules/tough-cookie/package.json

Dependency Hierarchy:

  • request-2.88.2.tgz (Root Library)
    • tough-cookie-2.5.0.tgz (Vulnerable Library)

Found in HEAD commit: a7f0948738582b190c10062a408e10b28b6ec75d

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Publish Date: 2023-07-01

URL: CVE-2023-26136

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26136

Release Date: 2023-07-01

Fix Resolution: tough-cookie - 4.1.3

CVE-2023-28155

Vulnerable Library - request-2.88.2.tgz

Simplified HTTP request client.

Library home page: https://registry.npmjs.org/request/-/request-2.88.2.tgz

Path to dependency file: /sample/SipInterconnect/package.json

Path to vulnerable library: /sample/SipInterconnect/node_modules/request/package.json

Dependency Hierarchy:

  • request-2.88.2.tgz (Vulnerable Library)

Found in HEAD commit: a7f0948738582b190c10062a408e10b28b6ec75d

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: GHSA-p8p7-x288-28g6

Release Date: 2023-03-16

Fix Resolution: @cypress/request - 3.0.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 6, 2022
@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) request-2.88.2.tgz: 1 vulnerabilities (highest severity is: 5.6) Nov 10, 2022
@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 1 vulnerabilities (highest severity is: 5.6) request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 5.6) Nov 28, 2022
@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 5.6) request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 7.5) Dec 23, 2022
@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 7.5) request-2.88.2.tgz: 1 vulnerabilities (highest severity is: 7.5) Jan 11, 2023
@cpettet
Copy link

cpettet commented Jan 26, 2023

This is a good replacement for request: https://github.com/tomas/needle

@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 1 vulnerabilities (highest severity is: 7.5) request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 7.5) Mar 16, 2023
@relm923
Copy link

relm923 commented Sep 22, 2023

Any plans to address this?

@cpettet
Copy link

cpettet commented Sep 22, 2023

Hi @relm923 ,
There's an open PR for it: #311

@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 7.5) request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) Oct 23, 2023
@mend-for-github-com mend-for-github-com bot changed the title request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) unreachable Jun 3, 2024
@manchuck manchuck closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

3 participants