Lucene search

K
hackeroneSkyn3tH1:778414
HistoryJan 20, 2020 - 5:03 p.m.

Node.js third-party modules: [klona] Prototype pollution

2020-01-2017:03:43
skyn3t
hackerone.com
238

0.015 Low

EPSS

Percentile

86.9%

I would like to report Prototype pollution in klona
It allows adding arbitrary property to Prototype while deep cloning an object

Module

module name: klonaversion:<1.1.1npm page: https://www.npmjs.com/package/klona

Module Description

A tiny (366B) and fast utility to “deep clone” Objects, Arrays, Dates, RegExps, and more!

Module Stats

356 weekly downloads

Vulnerability

Vulnerability Description

See: https://snyk.io/vuln/SNYK-JS-LODASH-450202

Steps To Reproduce:

Described here: https://github.com/lukeed/klona/pull/11/files

Note:
This vulnerability was reported directly to owner here https://github.com/lukeed/klona/pull/11 on 10/01/2020.
Fix published in v1.1.1 on 15/01/2020

Wrap up

  • I contacted the maintainer to let them know: Y
  • I opened an issue in the related repository: Y

> Hunter’s comments and funny memes goes here

{F690469}

Impact

Denial of Service and possible Remote code execution by overriding object’s property methods like toString

0.015 Low

EPSS

Percentile

86.9%