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-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz #46

Open
mend-for-github-com bot opened this issue May 25, 2021 · 1 comment
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 25, 2021

CVE-2021-31597 - Critical Severity Vulnerability

Vulnerable Library - xmlhttprequest-ssl-1.5.3.tgz

XMLHttpRequest for Node

Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz

Path to dependency file: /assets/wmt/reveal/package.json

Path to vulnerable library: /assets/wmt/reveal/node_modules/xmlhttprequest-ssl/package.json

Dependency Hierarchy:

  • socket.io-1.7.4.tgz (Root Library)
    • socket.io-client-1.7.4.tgz
      • engine.io-client-1.8.5.tgz
        • xmlhttprequest-ssl-1.5.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate validation by default, because rejectUnauthorized (when the property exists but is undefined) is considered to be false within the https.request function of Node.js. In other words, no certificate is ever rejected.

Publish Date: 2021-04-22

URL: CVE-2021-31597

CVSS 3 Score Details (9.4)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31597

Release Date: 2021-04-22

Fix Resolution (xmlhttprequest-ssl): 1.6.1

Direct dependency fix Resolution (socket.io): 2.2.0


⛑️ 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 WhiteSource label May 25, 2021
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-31597 (High) detected in xmlhttprequest-ssl-1.5.3.tgz CVE-2021-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz May 27, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz CVE-2021-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz - autoclosed May 4, 2024
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz - autoclosed CVE-2021-31597 (Critical) detected in xmlhttprequest-ssl-1.5.3.tgz May 4, 2024
@mend-for-github-com mend-for-github-com bot reopened this May 4, 2024
Copy link
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.

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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants