Quick answers
- Is CVE-2019-5428 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2019-5428 being exploited in the wild.
- How severe is CVE-2019-5428?
- Informational severity, with a CVSS score of 6.1, published 23 April 2019.
- Which products and versions are affected?
- jQuery prior to 3.4.0; org.webjars.npm:jquery (Maven) ECOSYSTEM:introduced=0,fixed=3.4.0; jquery-rails (RubyGems) ECOSYSTEM:introduced=0,fixed=3.4.0.
- Is there a fix for CVE-2019-5428?
- Yes. org.webjars.npm:jquery (Maven): upgrade to 3.4.0 or later; jquery-rails (RubyGems): upgrade to 3.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2019-5428 attacked?
- It is attacked over the network.
- Am I affected by CVE-2019-5428?
- Check whether you run jQuery, org.webjars.npm:jquery (Maven) or jquery-rails (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.webjars.npm:jquery (Maven): upgrade to 3.4.0 or later
# set org.webjars.npm:jquery to 3.4.0 in your pom.xml or build.gradle - jquery-rails (RubyGems): upgrade to 3.4.0 or later
bundle update jquery-rails
Technical details
The vulnerability is a prototype pollution flaw in jQuery's extend() method (particularly the deep/recursive extend variant with true parameter). An attacker can supply malicious input to the extend() function that modifies Object.prototype, poisoning the prototype chain and affecting all objects in the application. The attack requires the ability to pass untrusted data to an extend() call but does not require authentication or special privileges. Exploitation can result in property injection into all JavaScript objects, enabling logic bypass, denial of service, or information disclosure. The fix was released in jQuery 3.4.0 (patch merged March 2019) and requires upgrading to that version or later.
Affected products
- jQuery jQuery prior to 3.4.0
- jQuery jquery-rails prior to 3.4.0
Identifiers
- CVE-2019-5428
- GHSA-wv67-q8rr-grjp
Timeline
- 2019-04-23: disclosed
- 2019-04-10: patched: jQuery 3.4.0 released with fix