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

exploitDog

nvd логотип

CVE-2021-21368

Опубликовано: 12 мар. 2021
Источник: nvd
CVSS3: 6.7
CVSS3: 8.8
CVSS2: 6.5
EPSS Низкий

Описание

msgpack5 is a msgpack v5 implementation for node.js and the browser. In msgpack5 before versions 3.6.1, 4.5.1, and 5.2.1 there is a "Prototype Poisoning" vulnerability. When msgpack5 decodes a map containing a key "proto", it assigns the decoded value to proto. Object.prototype.proto is an accessor property for the receiver's prototype. If the value corresponding to the key proto decodes to an object or null, msgpack5 sets the decoded object's prototype to that value. An attacker who can submit crafted MessagePack data to a service can use this to produce values that appear to be of other types; may have unexpected prototype properties and methods (for example length, numeric properties, and push et al if proto's value decodes to an Array); and/or may throw unexpected exceptions when used (for example if the proto value decodes to a Map or Date). Other unexpected behavior might be produced for other types. There is no effect on the global prototype. This "protot

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:msgpack5_project:msgpack5:*:*:*:*:*:node.js:*:*
Версия до 3.6.1 (исключая)
cpe:2.3:a:msgpack5_project:msgpack5:*:*:*:*:*:node.js:*:*
Версия от 4.0.0 (включая) до 4.5.1 (исключая)
cpe:2.3:a:msgpack5_project:msgpack5:*:*:*:*:*:node.js:*:*
Версия от 5.0.0 (включая) до 5.2.1 (исключая)

EPSS

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

6.7 Medium

CVSS3

8.8 High

CVSS3

6.5 Medium

CVSS2

Дефекты

CWE-915
CWE-1321

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

CVSS3: 6.7
github
почти 5 лет назад

Prototype poisoning

EPSS

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

6.7 Medium

CVSS3

8.8 High

CVSS3

6.5 Medium

CVSS2

Дефекты

CWE-915
CWE-1321