Lucene search

K
huntrSampaguitas23204932-72B2-419D-B5F0-34A130752D82
HistoryFeb 02, 2022 - 11:59 a.m.

the function deepFromFlat of underscore.deep is vulnerable to prototype pollution

2022-02-0211:59:15
sampaguitas
www.huntr.dev
12

0.002 Low

EPSS

Percentile

57.1%

Prototype Pollution in Clever/underscore.deep

> Reported on Feb 2nd 2022 | Timothee Desurmont

Description

Vulnerability type: CWE-1321

Version 0.5.1 of underscore.deep is vulnerable to prototype pollution; the function deepFromFlat in underscore.deep.js do not check if the attribute resolves to the object prototype.

By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones.

This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf).

0.002 Low

EPSS

Percentile

57.1%

Related for 23204932-72B2-419D-B5F0-34A130752D82