Improper Check for Unusual or Exceptional Conditions Affecting @feathersjs/socketio package, versions <4.5.18 >=5.0.0 <5.0.8


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-FEATHERSJSSOCKETIO-5794666
  • published 20 Jul 2023
  • disclosed 20 Jul 2023
  • credit CodeanIO

How to fix?

Upgrade @feathersjs/socketio to version 4.5.18, 5.0.8 or higher.

Overview

@feathersjs/socketio is a The Feathers Socket.io real-time API provider

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to not catching invalid string conversion errors like const message = ${{ toString: '' }} which would cause the NodeJS process to crash when sending an unexpected Socket.io message like socket.emit('find', { toString: '' }).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high