Feathers socket handler did not catch invalid string conversion errors like:
const message = `${{ toString: '' }}`
Causing the NodeJS process to crash when sending an unexpected Socket.io message like
socket.emit('find', { toString: '' })
A fix has been released in
v5.0.8
via #3241v4.5.18
via #3242Since it is in the core Socket handling code upgrading to the latest version is necessary.
{ "github_reviewed_at": "2023-07-20T14:54:30Z", "cwe_ids": [ "CWE-754" ], "nvd_published_at": "2023-07-19T20:15:10Z", "severity": "HIGH", "github_reviewed": true }