{"id":"CVE-2023-37899","state":"PUBLISHED","title":"feathersjs socket handler allows abusing implicit toString","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.","publishedAt":"2023-07-19T19:45:31.386Z","updatedAt":"2024-10-28T15:12:04.645Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["feathersjs feathers"],"affected":[{"vendor":"feathersjs","product":"feathers","versions":[{"version":"< 4.5.18","status":"affected"},{"version":">= 5.0.0, < 5.0.8","status":"affected"}]}],"references":["https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","https://github.com/feathersjs/feathers/pull/3241","https://github.com/feathersjs/feathers/pull/3242","https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19"],"weaknesses":["CWE-754"],"ingestedAt":"2026-10-29T20:06:08.715Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/37xxx/CVE-2023-37899.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-37899","state":"PUBLISHED","datePublished":"2023-07-19T19:45:31.386Z","dateUpdated":"2024-10-28T15:12:04.645Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-07-10T17:51:29.610Z"},"containers":{"cna":{"title":"feathersjs socket handler allows abusing implicit toString","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"feathersjs","product":"feathers","versions":[{"version":"< 4.5.18","status":"affected"},{"version":">= 5.0.0, < 5.0.8","status":"affected"}]}],"references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","name":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/feathersjs/feathers/pull/3241","name":"https://github.com/feathersjs/feathers/pull/3241","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/pull/3242","name":"https://github.com/feathersjs/feathers/pull/3242","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","name":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","tags":["x_refsource_MISC"]},{"url":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","name":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-754","lang":"en","description":"CWE-754: Improper Check for Unusual or Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-07-19T19:45:31.386Z"},"source":{"advisory":"GHSA-hhr9-rh25-hvf9","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","name":"https://github.com/feathersjs/feathers/security/advisories/GHSA-hhr9-rh25-hvf9","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/feathersjs/feathers/pull/3241","name":"https://github.com/feathersjs/feathers/pull/3241","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/feathersjs/feathers/pull/3242","name":"https://github.com/feathersjs/feathers/pull/3242","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","name":"https://github.com/feathersjs/feathers/blob/crow/CHANGELOG.md#4518-2023-07-19","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","name":"https://github.com/feathersjs/feathers/blob/dove/CHANGELOG.md#508-2023-07-19","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T17:23:27.750Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-28T15:11:51.616890Z","id":"CVE-2023-37899","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-28T15:12:04.645Z"}}]}}}