test-samples icon indicating copy to clipboard operation
test-samples copied to clipboard

CVE-2021-3765 (High) detected in validator-12.0.0.tgz

Open mend-for-github-com[bot] opened this issue 3 years ago • 4 comments

CVE-2021-3765 - High Severity Vulnerability

Vulnerable Library - validator-12.0.0.tgz

String validation and sanitization

Library home page: https://registry.npmjs.org/validator/-/validator-12.0.0.tgz

Path to dependency file: /samples/testing-frameworks/appium/server-side/javascript/webdriver.io/package.json

Path to vulnerable library: /samples/testing-frameworks/appium/server-side/javascript/webdriver.io/node_modules/validator/package.json

Dependency Hierarchy:

  • junit-reporter-5.15.5.tgz (Root Library)
    • :x: validator-12.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 12af4f854b64888df6e4492ecc94e141388e939a

Found in base branch: master

Vulnerability Details

validator.js is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-11-02

URL: CVE-2021-3765

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://github.com/advisories/GHSA-qgmg-gppg-76g5

Release Date: 2021-11-02

Fix Resolution (validator): 13.7.0

Direct dependency fix Resolution (@wdio/junit-reporter): 5.22.4


:rescue_worker_helmet: Automatic Remediation is available for this issue

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

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

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

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 09 '22 01:09 stale[bot]

:heavy_check_mark: 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.