logo

CVE-2017-16113 parsejson

Package

Manager: npm
Name: parsejson
Vulnerable Version: >=0 <=0.0.3

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00303 pctl0.53062

Details

Regular Expression Denial of Service in parsejson 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.

Metadata

Created: 2018-07-24T20:11:13Z
Modified: 2020-08-31T18:26:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-q75g-2496-mxpp/GHSA-q75g-2496-mxpp.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-q75g-2496-mxpp
Finding: F002
Auto approve: 1