HIGH 7.5

CVE-2017-1000048

Prototype Pollution Protection Bypass in qs

Description

Affected version of qs are vulnerable to Prototype Pollution because it is possible to bypass the protection. The qs.parse function fails to properly prevent an object's prototype to be altered when parsing arbitrary input. Input containing [ or ] may bypass the prototype pollution protection and alter the Object prototype. This allows attackers to override properties that will exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances.

Recommendation

Upgrade to 6.0.4, 6.1.2, 6.2.3, 6.3.2 or later.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » qsvia npm qs
< 6.0.4>= 6.1.0, < 6.1.2>= 6.2.0, < 6.2.3>= 6.3.0, < 6.3.2
6.0.4, 6.1.2, 6.2.3, 6.3.2
org.webjars » qsvia npm qs
< 6.0.4>= 6.1.0, < 6.1.2>= 6.2.0, < 6.2.3>= 6.3.0, < 6.3.2
6.0.4, 6.1.2, 6.2.3, 6.3.2
org.webjars.npm » qsvia npm qs
< 6.0.4>= 6.1.0, < 6.1.2>= 6.2.0, < 6.2.3>= 6.3.0, < 6.3.2
6.0.4, 6.1.2, 6.2.3, 6.3.2

Blast radius

3affected artifacts
24affected versions
26dependent artifacts (est.)
49dependent versions

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

DepthDependent versions
Direct
25
2 hops
8
3 hops
2
4 hops
4
5 hops
8
6 hops
2

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
Packagegithub.com
Webgithub.com
Webgithub.com
Webaccess.redhat.com
Websnyk.io
Webnpmjs.com