{"answers":{"affected":"8 open source packages ship an affected version, including @feathersjs/socketio and @feathersjs/transport-commons. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37899 exists.","fix":"Upgrade @feathersjs/socketio to a fixed version for your release line: 4.5.18 or 5.0.8.","what":"CVE-2023-37899 is a high-severity denial of service vulnerability in feathersjs feathers, published on 19 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37899 and fix it if it is affected.\n\nWhat it is: CVE-2023-37899 is a high-severity denial of service vulnerability in feathersjs feathers, published on 19 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37899 exists.\n\nAffected packages and fixed versions:\n- @feathersjs/socketio (npm): affected all versions; fixed in 4.5.18\n- @feathersjs/socketio (npm): affected all versions; fixed in 4.5.18\n- @feathersjs/socketio (npm): affected from 5.0.0; fixed in 5.0.8\n- @feathersjs/socketio (npm): affected from 5.0.0; fixed in 5.0.8\n- @feathersjs/transport-commons (npm): affected all versions; fixed in 4.5.18\n- @feathersjs/transport-commons (npm): affected all versions; fixed in 4.5.18\n- @feathersjs/transport-commons (npm): affected from 5.0.0; fixed in 5.0.8\n- @feathersjs/transport-commons (npm): affected from 5.0.0; fixed in 5.0.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37899/ (Markdown: https://insights.sbomify.com/CVE-2023-37899/index.md)","id":"CVE-2023-37899","markdown":"https://insights.sbomify.com/CVE-2023-37899/index.md","name":"CVE-2023-37899","record":{"aliases":["GHSA-hhr9-rh25-hvf9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"FeathersJS framework","requires_auth":"none","summary":"An attacker can crash the Node.js process by sending a crafted Socket.io message with an invalid toString property, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"feathers","vendor":"feathersjs"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"feathersjs socket handler allows abusing implicit toString","id":"CVE-2023-37899","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":8,"n_references":5,"next":{"headline":"Crossplane vulnerable to denial of service from large image","id":"CVE-2023-37900"},"packages":[{"ecosystem":"npm","fixed":["4.5.18"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/socketio","purl":null,"source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["4.5.18"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/socketio","purl":"pkg:npm/%40feathersjs/socketio","source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["5.0.8"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/socketio","purl":null,"source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["5.0.8"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/socketio","purl":"pkg:npm/%40feathersjs/socketio","source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["4.5.18"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/transport-commons","purl":null,"source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["4.5.18"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/transport-commons","purl":"pkg:npm/%40feathersjs/transport-commons","source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["5.0.8"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/transport-commons","purl":null,"source":"GHSA-hhr9-rh25-hvf9"},{"ecosystem":"npm","fixed":["5.0.8"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/transport-commons","purl":"pkg:npm/%40feathersjs/transport-commons","source":"GHSA-hhr9-rh25-hvf9"}],"prev":{"headline":"Safe mode Cross-site Scripting (XSS) vulnerability in Joplin","id":"CVE-2023-37898"},"products":["feathers"],"published":"2023-07-19","related":[{"cvss_score":9.3,"headline":"Feathersjs has an OAuth Callback Account Takeover","id":"CVE-2026-29792","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":9.3,"headline":"NoSQL Injection via WebSocket id Parameter in MongoDB Adapter","id":"CVE-2026-29793","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.2,"headline":"Feathers exposes internal headers via unencrypted session cookie","id":"CVE-2026-27193","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.6,"headline":"Feathers has an origin validation bypass via prefix matching","id":"CVE-2026-27192","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.4,"headline":"Feathers: Open Redirect in OAuth callback enables account takeover","id":"CVE-2026-27191","kev_date_added":null,"published":"2026-02-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-28","vendors":["feathersjs"]},"summary":"An attacker can crash the Node.js process by sending a crafted Socket.io message with an invalid toString property, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2023-37899/"}