flamencist / flamencist/SelectorGenerator

CVE-2020-36049 (High) detected in socket.io-parser-3.2.0.tgz

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability
Dominant language
JavaScript
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## CVE-2020-36049 - High Severity Vulnerability
Vulnerable Library - 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: /package.json


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


Dependency Hierarchy:
- karma-5.0.4.tgz (Root Library)
- socket.io-2.1.1.tgz
- :x: **socket.io-parser-3.2.0.tgz** (Vulnerable Library)


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 (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-xfhh-g9f5-x4m4


Release Date: 2021-01-08


Fix Resolution (socket.io-parser): 3.3.2


Direct dependency fix Resolution (karma): 5.0.8

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and inspect the dependency hierarchy from karma 5.0.4 through socket.io to socket.io-parser 3.2.0. Check the compatible direct upgrade to karma 5.0.8, then verify that the resolved parser version is no longer vulnerable and run the repository's available checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.