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

CVE-2021-3765 (High) detected in validator-13.5.2.tgz, validator-12.2.0.tgz - autoclosed #76

Closed
1 task
mend-for-github-com bot opened this issue Aug 10, 2022 · 1 comment
Labels
security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

CVE-2021-3765 - High Severity Vulnerability

Vulnerable Libraries - validator-13.5.2.tgz, validator-12.2.0.tgz

validator-13.5.2.tgz

String validation and sanitization

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • swagger-mock-validator-10.0.0.tgz (Root Library)
    • validator-13.5.2.tgz (Vulnerable Library)
validator-12.2.0.tgz

String validation and sanitization

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/z-schema/node_modules/validator/package.json

Dependency Hierarchy:

  • swagger-mock-validator-10.0.0.tgz (Root Library)
    • swagger-parser-10.0.2.tgz
      • swagger-parser-10.0.2.tgz
        • z-schema-4.2.3.tgz
          • validator-12.2.0.tgz (Vulnerable Library)

Found in HEAD commit: 3912fdf164197aec6dc6c42ef1edc2f39d68619f

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: GHSA-qgmg-gppg-76g5

Release Date: 2021-11-02

Fix Resolution (validator): 13.7.0

Direct dependency fix Resolution (swagger-mock-validator): 10.0.1

Fix Resolution (validator): 13.7.0

Direct dependency fix Resolution (swagger-mock-validator): 10.0.1


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by Mend label Aug 10, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-3765 (High) detected in validator-13.5.2.tgz, validator-12.2.0.tgz CVE-2021-3765 (High) detected in validator-13.5.2.tgz, validator-12.2.0.tgz - autoclosed Oct 21, 2022
@mend-for-github-com
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants