scriptex/rollup-mpa

CVE-2020-36049 (Medium) detected in socket.io-parser-3.2.0.tgz, socket.io-parser-3.3.1.tgz

Closed this issue · 0 comments

CVE-2020-36049 - Medium Severity Vulnerability

Vulnerable Libraries - socket.io-parser-3.2.0.tgz, socket.io-parser-3.3.1.tgz

socket.io-parser-3.2.0.tgz

socket.io protocol parser

Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz

Path to dependency file: rollup-mpa/package.json

Path to vulnerable library: rollup-mpa/node_modules/socket.io/node_modules/socket.io-parser/package.json

Dependency Hierarchy:

  • rollup-plugin-browsersync-1.3.1.tgz (Root Library)
    • browser-sync-2.26.13.tgz
      • socket.io-2.1.1.tgz
        • socket.io-parser-3.2.0.tgz (Vulnerable Library)
socket.io-parser-3.3.1.tgz

socket.io protocol parser

Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz

Path to dependency file: rollup-mpa/package.json

Path to vulnerable library: rollup-mpa/node_modules/socket.io-parser/package.json

Dependency Hierarchy:

  • rollup-plugin-browsersync-1.3.1.tgz (Root Library)
    • browser-sync-2.26.13.tgz
      • browser-sync-ui-2.26.13.tgz
        • socket.io-client-2.4.0.tgz
          • socket.io-parser-3.3.1.tgz (Vulnerable Library)

Found in HEAD commit: 898e8418a8a450b000b11efa00ec87aa949dbdc0

Vulnerability Details

socket.io-parser before 3.4.1 allows attackers to cause a denial of service (memory consumption) via a large packet because a concatenation approach is used.

Publish Date: 2021-01-08

URL: CVE-2020-36049

CVSS 3 Score Details (5.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • 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-2020-36049

Release Date: 2021-01-08

Fix Resolution: socket.io-parser - 3.4.1


Step up your Open Source Security Game with WhiteSource here