@feathersjs/transport-commons@4.0.2 vulnerabilities

Shared functionality for websocket providers

Direct Vulnerabilities

Known vulnerabilities in the @feathersjs/transport-commons 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/transport-commons is a Shared functionality for websocket providers

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/transport-commons to version 4.5.18, 5.0.8 or higher.

<4.5.18 >=5.0.0 <5.0.8