CVE-2023-37899
HIGH 7.5CVSS 3.1Feathers socket handler allows abusing implicit toString
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
- 19 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- GHSA-hhr9-rh25-hvf9
- Sources
- NVDJSONOSV GHSA-hhr9-rh25-hvf9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | feathersjs | featherscpe:2.3:a:feathersjs:feathers:*:*:*:*:*:node.js:*:* |
< 4.5.18 | 4.5.18 |
| NVD | feathersjs | featherscpe:2.3:a:feathersjs:feathers:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.0.8 | 5.0.8 |
| OSV | npm | @feathersjs/socketio | < 4.5.18 | 4.5.18 |
| OSV | npm | @feathersjs/socketio | >= 5.0.0, < 5.0.8 | 5.0.8 |
| OSV | npm | @feathersjs/transport-commons | < 4.5.18 | 4.5.18 |
| OSV | npm | @feathersjs/transport-commons | >= 5.0.0, < 5.0.8 | 5.0.8 |
References
- https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19 · Release Notes, WEB
- https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19 · Release Notes, WEB
- https://github.com/feathersjs/feathers/pull/3241 · Patch, WEB
- https://github.com/feathersjs/feathers/pull/3242 · Patch, WEB
- https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37899 · ADVISORY
- https://github.com/feathersjs/feathers/commit/0b9a6b19b12ad05934e4c8bd9917448ed39d1ed8 · WEB
- https://github.com/feathersjs/feathers/commit/c397ab3a0cd184044ae4f73540549b30a396821c · WEB
- https://github.com/feathersjs/feathers · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Jul 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2023)