Skip to main content
← All vulnerabilities
CVE-2023-37899GHSA-HHR9-RH25-HVF9

feathersjs socket handler allows abusing implicit toString

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.18, 5.0.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • feathersjs feathers

    fixed in 4.5.18; From 5.0.0 · fixed in 5.0.8

  • @feathersjs/socketionpm

    fixed in 4.5.18

  • @feathersjs/socketionpm

    From 5.0.0 · fixed in 5.0.8

  • @feathersjs/transport-commonsnpm

    fixed in 4.5.18

  • @feathersjs/transport-commonsnpm

    From 5.0.0 · fixed in 5.0.8

References 5

GitHub · feathersjs/feathers