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

exploitDog

github логотип

GHSA-wgxm-rg53-h2c6

Опубликовано: 24 мая 2022
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

Prototype pollution vulnerability in 'deep-set'

The NPM module 'deep-set' can be abused by Prototype Pollution vulnerability since the function deepSet() does not check for the type of object before assigning value to the property. Due to this flaw an attacker could create a non-existent property or able to manipulate the property which leads to Denial of Service or potentially Remote code execution.

PoC

var deepSet = require('deep-set') var obj = {'1':'2'} console.log(obj.isAdmin); deepSet(obj, '__proto__.isAdmin', 'true') console.log(obj.isAdmin);

Пакеты

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

deep-set

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

>= 1.0.0, <= 1.0.1

Отсутствует

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-1321

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

CVSS3: 9.8
nvd
около 5 лет назад

Prototype pollution vulnerability in 'deep-set' versions 1.0.0 through 1.0.1 allows attacker to cause a denial of service and may lead to remote code execution.

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-1321