Improper Check for Unusual or Exceptional Conditions Affecting @feathersjs/transport-commons 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-FEATHERSJSTRANSPORTCOMMONS-5794669
  • 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/transport-commons to version 4.5.18, 5.0.8 or higher.

Overview

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

CVSS Scores

version 3.1