GitHub Advisoryadvisory · npm, NuGet, Maven, RubyGems
GHSA-mhpp-875w-9cpv Denial of Service in jquery
HIGH
Official page ↗
- Aliases
- CVE-2016-10707
- Ecosystem
- npm, NuGet, Maven, RubyGems
- Packages
- jquery, jQuery, org.webjars.npm:jquery, jquery-rails
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-674
- Reviewed
- 2020-06-16
Affected packages
• npm jquery: >= 3.0.0-rc.1, < 3.0.0 → fixed in 3.0.0
• NuGet jQuery: >= 3.0.0-rc.1, < 3.0.0 → fixed in 3.0.0
• Maven org.webjars.npm:jquery: >= 3.0.0-rc1, < 3.0.0 → fixed in 3.0.0
• RubyGems jquery-rails: >= 3.0.0-rc.1, < 3.0.0 → fixed in 3.0.0
Description
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.
Related
Alias · CVE (1)
- CVE-2016-10707 jQuery 3.0.0-rc.1 is vulnerable to Denial of Service (DoS) due to removing a logic that lowercased attribute names. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10707 advisory
- https://github.com/jquery/jquery/issues/3133 web
- https://github.com/jquery/jquery/issues/3133#issuecomment-358978489 web
- https://github.com/jquery/jquery/pull/3134 web
- https://github.com/advisories/GHSA-mhpp-875w-9cpv advisory
- https://github.com/jquery/jquery package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2016-10707.yml web
- https://snyk.io/vuln/npm:jquery:20160529 web
- https://www.npmjs.com/advisories/330 web