Lucene search

K
nodejsCristian-Alexandru StaicuNODEJS:528
HistorySep 08, 2017 - 8:43 p.m.

Regular Expression Denial of Service

2017-09-0820:43:02
Cristian-Alexandru Staicu
www.npmjs.com
42

EPSS

0.001

Percentile

45.5%

Overview

Affected versions of parsejson are vulnerable to a regular expression denial of service when parsing untrusted user input.

Recommendation

The parsejson package has not been functionally updated since it was initially released.

Additionally, it provides functionality which is natively included in Node.js, and therefore the native JSON.parse() should be used, for both performance and security reasons.

References

EPSS

0.001

Percentile

45.5%