{"id":"CVE-2023-37899","aliases":["GHSA-hhr9-rh25-hvf9"],"url":"https://o3.security/vulnerability/CVE-2023-37899","summary":"feathersjs socket handler allows abusing implicit toString","details":"### Impact\n\nFeathers socket handler did not catch invalid string conversion errors like:\n\n```ts\nconst message = `${{ toString: '' }}`\n```\n\nCausing the NodeJS process to crash when sending an unexpected Socket.io message like\n\n```ts\nsocket.emit('find', { toString: '' })\n```\n\n### Patches\n\nA fix has been released in\n\n- `v5.0.8` via #3241\n- `v4.5.18` via #3242\n\n### Workarounds\n\nSince it is in the core Socket handling code upgrading to the latest version is necessary.\n### References\n\n- [v5.0.8 Changelog](https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19)\n- [v4.5.18 Changelog](https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19)\n","published":"2023-07-19T19:45:31.386Z","modified":"2026-08-12T03:51:36.253909099Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"@feathersjs/socketio","fixedVersion":"4.5.18"},{"ecosystem":"npm","name":"@feathersjs/socketio","fixedVersion":"5.0.8"},{"ecosystem":"npm","name":"@feathersjs/transport-commons","fixedVersion":"4.5.18"},{"ecosystem":"npm","name":"@feathersjs/transport-commons","fixedVersion":"5.0.8"}],"fix":{"url":"https://github.com/feathersjs/feathers/pull/3241","label":"feathersjs/feathers#3241"},"references":[{"type":"WEB","url":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19"},{"type":"WEB","url":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37899.json"},{"type":"ADVISORY","url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37899"},{"type":"FIX","url":"https://github.com/feathersjs/feathers/pull/3241"},{"type":"FIX","url":"https://github.com/feathersjs/feathers/pull/3242"},{"type":"WEB","url":"https://github.com/feathersjs/feathers/commit/0b9a6b19b12ad05934e4c8bd9917448ed39d1ed8"},{"type":"WEB","url":"https://github.com/feathersjs/feathers/commit/c397ab3a0cd184044ae4f73540549b30a396821c"},{"type":"PACKAGE","url":"https://github.com/feathersjs/feathers"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.253909099Z"}}