Nurturing Palpable Magnificence

npm

Severity: high

Regular Expression Denial of Service

parsejson

Overview

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

Remediation

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.

Resources

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory published
    Sep 21st, 2017
  2. reported

    Initial report by Cristian-Alexandru Staicu
    Sep 8th, 2017