HIGH

CVE-2017-16113

Regular Expression Denial of Service in parsejson

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.webjars.npm » parsejsonvia npm parsejson
<= 0.0.3
-

Blast radius

1affected artifacts
3affected versions
7dependent artifacts (est.)
11dependent versions

14% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
3
2 hops
1
3 hops
2
4 hops
4
5 hops
1

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Advisorygithub.com
Webgithub.com
Webnpmjs.com