@feathersjs/socketio@4.0.0-pre.3 vulnerabilities

The Feathers Socket.io real-time API provider

Direct Vulnerabilities

Known vulnerabilities in the @feathersjs/socketio package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Check for Unusual or Exceptional Conditions

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

How to fix Improper Check for Unusual or Exceptional Conditions?

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

<4.5.18 >=5.0.0 <5.0.8