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

truffle-plugin-verify-0.5.33.tgz: 2 vulnerabilities (highest severity is: 7.5) #1349

Open
mend-bolt-for-github bot opened this issue Jun 16, 2024 · 4 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jun 16, 2024

Vulnerable Library - truffle-plugin-verify-0.5.33.tgz

Path to dependency file: /blockchain_integration/pi_network/contracts/PI-bank/package.json

Path to vulnerable library: /blockchain_integration/pi_network/contracts/PI-bank/node_modules/truffle-plugin-verify/node_modules/axios/package.json

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (truffle-plugin-verify version) Remediation Possible**
WS-2023-0439 High 7.5 axios-0.26.1.tgz Transitive N/A*
CVE-2023-45857 Medium 6.5 axios-0.26.1.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

WS-2023-0439

Vulnerable Library - axios-0.26.1.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz

Path to dependency file: /blockchain_integration/pi_network/contracts/PI-bank/package.json

Path to vulnerable library: /blockchain_integration/pi_network/contracts/PI-bank/node_modules/truffle-plugin-verify/node_modules/axios/package.json

Dependency Hierarchy:

  • truffle-plugin-verify-0.5.33.tgz (Root Library)
    • axios-0.26.1.tgz (Vulnerable Library)

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Found in base branch: main

Vulnerability Details

Axios is vulnerable to Regular Expression Denial of Service (ReDoS). When a manipulated string is provided as input to the format method, the regular expression exhibits a time complexity of O(n^2). Server becomes unable to provide normal service due to the excessive cost and time wasted in processing vulnerable regular expressions.

Publish Date: 2023-10-25

URL: WS-2023-0439

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.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/WS-2023-0439

Release Date: 2023-10-25

Fix Resolution: axios - 1.6.3,0.20.0

Step up your Open Source Security Game with Mend here

CVE-2023-45857

Vulnerable Library - axios-0.26.1.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz

Path to dependency file: /blockchain_integration/pi_network/contracts/PI-bank/package.json

Path to vulnerable library: /blockchain_integration/pi_network/contracts/PI-bank/node_modules/truffle-plugin-verify/node_modules/axios/package.json

Dependency Hierarchy:

  • truffle-plugin-verify-0.5.33.tgz (Root Library)
    • axios-0.26.1.tgz (Vulnerable Library)

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Found in base branch: main

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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

Release Date: 2023-11-08

Fix Resolution: axios - 1.6.0

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 16, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed Jul 3, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) Jul 3, 2024
@mend-bolt-for-github mend-bolt-for-github bot reopened this Jul 3, 2024
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed Aug 12, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) - autoclosed truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) Aug 12, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title truffle-plugin-verify-0.5.33.tgz: 1 vulnerabilities (highest severity is: 6.5) truffle-plugin-verify-0.5.33.tgz: 2 vulnerabilities (highest severity is: 7.5) Oct 30, 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