GitHub Advisory Database
GHSA-mhpp-875w-9cpv
Denial of Service in jquery
Details
Affected versions of jquery use a lowercasing logic on attribute names. When given a boolean attribute with a name that contains uppercase characters, jquery enters into an infinite recursion loop, exceeding the call stack limit, and resulting in a denial of service condition.
Recommendation
Update to version 3.0.0 or later.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | jquery | From 3.0.0-rc.1 before 3.0.0 (fixed in 3.0.0) |
| NuGet | jQuery | From 3.0.0-rc.1 before 3.0.0 (fixed in 3.0.0) |
| Maven | org.webjars.npm:jquery | From 3.0.0-rc1 before 3.0.0 (fixed in 3.0.0) |
| RubyGems | jquery-rails | From 3.0.0-rc.1 before 3.0.0 (fixed in 3.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10707
- https://github.com/jquery/jquery/issues/3133
- https://github.com/jquery/jquery/issues/3133#issuecomment-358978489
- https://github.com/jquery/jquery/pull/3134
- https://github.com/advisories/GHSA-mhpp-875w-9cpv
- https://github.com/jquery/jquery
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2016-10707.yml
- https://snyk.io/vuln/npm:jquery:20160529
- https://www.npmjs.com/advisories/330