CVE-2023-37899
highpriority · track · 30EPSS 0.012 · 68 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hhr9-rh25-hvf9Feathers socket handler allows abusing implicit toString2023-07-20ghsa · osvUS
### Impact Feathers socket handler did not catch invalid string conversion errors like: ```ts const message = `${{ toString: '' }}` ``` Causing the NodeJS process to crash when sending an unexpected Socket.io message like ```ts socket.emit('find', { toString: '' }) ``` ### Patches A fix has been released in - `v5.0.8` via #3241 - `v4.5.18` via #3242 ### Workarounds Since it is in the core Socket handling code upgrading to the latest version is necessary. ### References - [v5.0.8 Changelog](https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19) - [v4.5.18 Changelog](https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-37899/cnnvd
- https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19cnnvd
- https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19cnnvd
- https://github.com/feathersjs/feathers/pull/3241cnnvd
- https://github.com/feathersjs/feathers/pull/3242cnnvd
- https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9cnnvd
- https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19enisa_euvd
- https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan