{"id":"CVE-2023-37899","published":"2023-07-19T19:45:31Z","modified":"2024-10-28T15:12:04Z","title":"feathersjs socket handler allows abusing implicit toString","vendor":"feathersjs","product":"feathers","tier":"tail","description":{"text":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Feathers socket handler did not catch 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: '' })`.  A fix has been released in versions 5.0.8 and 4.5.18. Users are advised to upgrade. There is no known workaround for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01188,"percentile":0.68664,"provenance":"source"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/feathersjs/feathers/pull/3241","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/pull/3242","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":13.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"feathersjs","affectedVersions":[{"vendor":"feathersjs","product":"feathers","versions":["< 4.5.18",">= 5.0.0, < 5.0.8"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-28T15:11:51.616890Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@feathersjs/socketio","vulnerableRanges":["<4.5.18",">=5.0.0, <5.0.8"],"patched":["4.5.18","5.0.8"],"from":["GHSA-hhr9-rh25-hvf9"],"provenance":"source"},{"ecosystem":"npm","package":"@feathersjs/transport-commons","vulnerableRanges":["<4.5.18",">=5.0.0, <5.0.8"],"patched":["4.5.18","5.0.8"],"from":["GHSA-hhr9-rh25-hvf9"],"provenance":"source"}],"summary":{"text":"The flaw is in the Feathers socket handler of the feathers product from FeathersJS, where invalid string conversion errors are not caught. Because of this, a malformed Socket.io message such as one whose payload contains an object with a toString property can crash the Node.js process. An attacker with network access can trigger the crash by sending such a message to the socket, requiring no authentication or user interaction. Feathers 5.0.8 and 4.5.18 contain the fix, and no workaround is documented.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:34Z"},"euvd":{"id":"EUVD-2023-2077","exploited":false,"provenance":"source"}}