Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-hhr9-rh25-hvf9

Опубликовано: 20 июл. 2023
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Feathers socket handler allows abusing implicit toString

Impact

Feathers socket handler did not catch invalid string conversion errors like:

const message = `${{ toString: '' }}`

Causing the NodeJS process to crash when sending an unexpected Socket.io message like

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

Пакеты

Наименование

@feathersjs/socketio

npm
Затронутые версииВерсия исправления

<= 4.5.17

4.5.18

Наименование

@feathersjs/socketio

npm
Затронутые версииВерсия исправления

>= 5.0.0, <= 5.0.7

5.0.8

Наименование

@feathersjs/transport-commons

npm
Затронутые версииВерсия исправления

<= 4.5.17

4.5.18

Наименование

@feathersjs/transport-commons

npm
Затронутые версииВерсия исправления

>= 5.0.0, <= 5.0.7

5.0.8

EPSS

Процентиль: 42%
0.00202
Низкий

7.5 High

CVSS3

Дефекты

CWE-754

Связанные уязвимости

CVSS3: 7.5
nvd
больше 2 лет назад

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.

EPSS

Процентиль: 42%
0.00202
Низкий

7.5 High

CVSS3

Дефекты

CWE-754