Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

CVE-2021-31597 (High) detected in xmlhttprequest-ssl-1.5.1.tgz #87

Open
@mend-bolt-for-github

Description

CVE-2021-31597 - High Severity Vulnerability

Vulnerable Library - xmlhttprequest-ssl-1.5.1.tgz

XMLHttpRequest for Node

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

Path to dependency file: curratelo/package.json

Path to vulnerable library: curratelo/node_modules/xmlhttprequest-ssl/package.json

Dependency Hierarchy:

  • socket.io-1.4.8.tgz (Root Library)
    • socket.io-client-1.4.8.tgz
      • engine.io-client-1.6.11.tgz
        • xmlhttprequest-ssl-1.5.1.tgz (Vulnerable Library)

Found in HEAD commit: d5f27c24e5600ff99928b6751553a09158c42e04

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-23

URL: CVE-2021-31597

CVSS 3 Score Details (7.4)

Base Score Metrics:

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

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-23

Fix Resolution: xmlhttprequest-ssl - 1.6.1


Step up your Open Source Security Game with WhiteSource here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions