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

swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) #823

Open
mend-for-github-com bot opened this issue Nov 18, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Nov 18, 2022

Vulnerable Library - swagger-boilerplate-0.1.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-rest-client/node_modules/follow-redirects/package.json

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (swagger-boilerplate version) Remediation Possible** Reachability
CVE-2022-24434 High 7.5 Functional 0.3% dicer-0.2.5.tgz Transitive N/A*
CVE-2023-26159 High 7.3 Proof of concept 0.1% follow-redirects-1.15.2.tgz Transitive N/A*
CVE-2024-28849 Medium 6.5 Not Defined 0.0% follow-redirects-1.15.2.tgz Transitive N/A*
CVE-2024-47764 Medium 5.3 Not Defined 0.0% cookie-0.4.2.tgz Transitive N/A*
CVE-2023-0842 Medium 5.3 Not Defined 0.1% xml2js-0.4.23.tgz Transitive N/A*

*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-2022-24434

Vulnerable Library - dicer-0.2.5.tgz

A very fast streaming multipart parser for node.js

Library home page: https://registry.npmjs.org/dicer/-/dicer-0.2.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/dicer/package.json

Dependency Hierarchy:

  • swagger-boilerplate-0.1.8.tgz (Root Library)
    • multer-1.4.4.tgz
      • busboy-0.2.14.tgz
        • dicer-0.2.5.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Vulnerability Details

This affects all versions of package dicer. A malicious attacker can send a modified form to server, and crash the nodejs service. An attacker could sent the payload again and again so that the service continuously crashes.

Publish Date: 2022-05-20

URL: CVE-2022-24434

Threat Assessment

Exploit Maturity: Functional

EPSS: 0.3%

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

CVE-2023-26159

Vulnerable Library - follow-redirects-1.15.2.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-rest-client/node_modules/follow-redirects/package.json

Dependency Hierarchy:

  • swagger-boilerplate-0.1.8.tgz (Root Library)
    • node-rest-client-3.1.1.tgz
      • follow-redirects-1.15.2.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Vulnerability Details

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

Publish Date: 2024-01-02

URL: CVE-2023-26159

Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 0.1%

CVSS 3 Score Details (7.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2024-01-02

Fix Resolution: follow-redirects - 1.15.4

CVE-2024-28849

Vulnerable Library - follow-redirects-1.15.2.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-rest-client/node_modules/follow-redirects/package.json

Dependency Hierarchy:

  • swagger-boilerplate-0.1.8.tgz (Root Library)
    • node-rest-client-3.1.1.tgz
      • follow-redirects-1.15.2.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Vulnerability Details

follow-redirects is an open source, drop-in replacement for Node's http and https modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-03-14

URL: CVE-2024-28849

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-cxjh-pqwp-8mfp

Release Date: 2024-03-14

Fix Resolution: follow-redirects - 1.15.6

CVE-2024-47764

Vulnerable Library - cookie-0.4.2.tgz

HTTP server cookie parsing and serialization

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/express-session/node_modules/cookie/package.json

Dependency Hierarchy:

  • swagger-boilerplate-0.1.8.tgz (Root Library)
    • express-session-1.17.3.tgz
      • cookie-0.4.2.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Vulnerability Details

cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.

Publish Date: 2024-10-04

URL: CVE-2024-47764

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pxg6-pf52-xh8x

Release Date: 2024-10-04

Fix Resolution: cookie - 0.7.0

CVE-2023-0842

Vulnerable Library - xml2js-0.4.23.tgz

Simple XML to JavaScript object converter.

Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/xml2js/package.json

Dependency Hierarchy:

  • swagger-boilerplate-0.1.8.tgz (Root Library)
    • node-rest-client-3.1.1.tgz
      • xml2js-0.4.23.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Vulnerability Details

xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.

Publish Date: 2023-04-05

URL: CVE-2023-0842

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2023-04-05

Fix Resolution: xml2js - 0.5.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 18, 2022
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 1 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 2 vulnerabilities (highest severity is: 7.5) Apr 6, 2023
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 2 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 4 vulnerabilities (highest severity is: 7.5) May 2, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 4 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Oct 12, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable Nov 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Nov 13, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable Nov 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Nov 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable Nov 21, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Nov 29, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable Dec 6, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Dec 6, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable Dec 9, 2024
@mend-for-github-com mend-for-github-com bot changed the title swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable swagger-boilerplate-0.1.8.tgz: 5 vulnerabilities (highest severity is: 7.5) Dec 9, 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

0 participants