CVE-2023-37899
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 and 4.5.18. Users are advised to upgrade. There is no known workaround for this vulnerability.
How to fix
- feathersjs feathers4.5.18, 5.0.8 or later
- @feathersjs/socketio4.5.18, 5.0.8 or later
- @feathersjs/transport-commons4.5.18, 5.0.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| feathersjs feathers | v < 4.5.18, 5.0.0 ≤ v < 5.0.8 | 4.5.18, 5.0.8 |
| @feathersjs/socketionpm | v < 4.5.18, 5.0.0 ≤ v < 5.0.8 | 4.5.18, 5.0.8 |
| @feathersjs/transport-commonsnpm | v < 4.5.18, 5.0.0 ≤ v < 5.0.8 | 4.5.18, 5.0.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.