{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-37899","id":"CVE-2023-37899","title":"feathersjs socket handler allows abusing implicit toString","description":"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 ","descriptionLong":"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.","published":"2023-07-19T19:45:31.386Z","updated":"2026-10-28T02:31:07.110808240Z","reserved":"2023-07-10T17:51:29.610Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["feathersjs feathers"],"affectedProducts":[{"vendor":"feathersjs","product":"feathers","defaultStatus":null,"versions":[{"version":"< 4.5.18","status":"affected"},{"version":">= 5.0.0, < 5.0.8","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@feathersjs/socketio","purl":"pkg:npm/%40feathersjs/socketio","ranges":["<4.5.18",">=5.0.0 <5.0.8"],"fixed":["4.5.18","5.0.8"],"advisory":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","name":"@feathersjs/transport-commons","purl":"pkg:npm/%40feathersjs/transport-commons","ranges":["<4.5.18",">=5.0.0 <5.0.8"],"fixed":["4.5.18","5.0.8"],"advisory":"GHSA-hhr9-rh25-hvf9"}],"cwes":["CWE-754"],"aliases":["GHSA-hhr9-rh25-hvf9"],"references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/feathersjs/feathers/pull/3241","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/feathersjs/feathers/pull/3242","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37899.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37899","tags":["advisory"]},{"url":"https://github.com/feathersjs/feathers/commit/0b9a6b19b12ad05934e4c8bd9917448ed39d1ed8","tags":["web"]},{"url":"https://github.com/feathersjs/feathers/commit/c397ab3a0cd184044ae4f73540549b30a396821c","tags":["web"]},{"url":"https://github.com/feathersjs/feathers","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01188,"epssPercentile":0.68565,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-37899","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37899","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-37899","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhr9-rh25-hvf9","ok":true,"note":"GHSA-hhr9-rh25-hvf9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-37899","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}