kxxt / kxxt-website

My personal website powered by gatsby, hosted on vercel.

Home Page:https://www.kxxt.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-2421 (High) detected in socket.io-parser-4.0.4.tgz - autoclosed

mend-bolt-for-github opened this issue · comments

CVE-2022-2421 - High Severity Vulnerability

Vulnerable Library - socket.io-parser-4.0.4.tgz

socket.io protocol parser

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

Dependency Hierarchy:

  • gatsby-4.24.6.tgz (Root Library)
    • socket.io-3.1.2.tgz
      • socket.io-parser-4.0.4.tgz (Vulnerable Library)

Found in HEAD commit: 37f8543da5164a1a7ef318756aa0eac1c5e89a09

Found in base branch: master

Vulnerability Details

Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.

Publish Date: 2022-10-26

URL: CVE-2022-2421

CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://csirt.divd.nl/cases/DIVD-2022-00045/

Release Date: 2022-10-26

Fix Resolution: socket.io-parser - 4.0.5,4.2.1


Step up your Open Source Security Game with Mend here

✔️ 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.