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

exploitDog

github логотип

GHSA-37q6-576q-vgr7

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

Описание

Missing Origin Validation in parcel-bundler

Versions of parcel-bundler before 1.10.0 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.

Recommendation

Update to version 1.10.0 or later.

Пакеты

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

parcel-bundler

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

< 1.10.0

1.10.0

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-200

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

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

An issue was discovered in HMRServer.js in Parcel parcel-bundler. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1 connection (with a random TCP port number) from any origin. The random port number can be found by connecting to http://127.0.0.1 and reading the "new WebSocket" line in the source code.

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-200