HIGH 7.5

CVE-2022-24999

qs vulnerable to Prototype Pollution

Description

qs before 6.10.3 allows attackers to cause a Node process hang because an __ proto__ key can be used. In many typical web framework use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b&a[__proto__]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » qsvia npm qs
< 6.2.4>= 6.3.0, < 6.3.3>= 6.4.0, < 6.4.1>= 6.5.0, < 6.5.3>= 6.6.0, < 6.6.1>= 6.7.0, < 6.7.3>= 6.8.0, < 6.8.3>= 6.9.0, < 6.9.7>= 6.10.0, < 6.10.3
6.2.4, 6.3.3, 6.4.1, 6.5.3, 6.6.1, 6.7.3, 6.8.3, 6.9.7, 6.10.3
org.webjars » qsvia npm qs
< 6.2.4>= 6.3.0, < 6.3.3>= 6.4.0, < 6.4.1>= 6.5.0, < 6.5.3>= 6.6.0, < 6.6.1>= 6.7.0, < 6.7.3>= 6.8.0, < 6.8.3>= 6.9.0, < 6.9.7>= 6.10.0, < 6.10.3
6.2.4, 6.3.3, 6.4.1, 6.5.3, 6.6.1, 6.7.3, 6.8.3, 6.9.7, 6.10.3
org.webjars.npm » qsvia npm qs
< 6.2.4>= 6.3.0, < 6.3.3>= 6.4.0, < 6.4.1>= 6.5.0, < 6.5.3>= 6.6.0, < 6.6.1>= 6.7.0, < 6.7.3>= 6.8.0, < 6.8.3>= 6.9.0, < 6.9.7>= 6.10.0, < 6.10.3
6.2.4, 6.3.3, 6.4.1, 6.5.3, 6.6.1, 6.7.3, 6.8.3, 6.9.7, 6.10.3

Blast radius

3affected artifacts
43affected versions
29dependent artifacts (est.)
58dependent versions

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

DepthDependent versions
Direct
30
2 hops
12
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