Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @feathersjs/transport-commons
  4. ›
  5. CVE-2023-37899

CVE-2023-37899: Improper Check for Unusual or Exceptional Conditions

July 20, 2023

Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Feathers socket handler does 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.

References

  • github.com/advisories/GHSA-hhr9-rh25-hvf9
  • github.com/feathersjs/feathers/blob/crow/CHANGELOG.md
  • github.com/feathersjs/feathers/blob/dove/CHANGELOG.md
  • github.com/feathersjs/feathers/commit/0b9a6b19b12ad05934e4c8bd9917448ed39d1ed8
  • github.com/feathersjs/feathers/commit/c397ab3a0cd184044ae4f73540549b30a396821c
  • github.com/feathersjs/feathers/pull/3241
  • github.com/feathersjs/feathers/pull/3242
  • github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9
  • nvd.nist.gov/vuln/detail/CVE-2023-37899

Code Behaviors & Features

Detect and mitigate CVE-2023-37899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.5.17, all versions starting from 5.0.0 up to 5.0.7

Fixed versions

  • 4.5.18
  • 5.0.8

Solution

Upgrade to versions 4.5.18, 5.0.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-754: Improper Check for Unusual or Exceptional Conditions

Source file

npm/@feathersjs/transport-commons/CVE-2023-37899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:51 +0000.