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. Learn more

Threat Intelligence

EPSS
0.17% (54th 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 IDSNYK-JS-FEATHERSJSSOCKETIO-5794666
  • published20 Jul 2023
  • disclosed20 Jul 2023
  • creditCodeanIO

Introduced: 20 Jul 2023

CVE-2023-37899  (opens in a new tab)
CWE-754  (opens in a new tab)

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