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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.06% (23rd percentile)
Expand this section
NVD
7.5 high

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: '' }).