Three years after its last major security bug, the jQuery JavaScript library --used on 74 percent of all internet sites-- has received another security patch this week. This security update addresses a rare vulnerability --called prototype pollution-- that security researchers are only now starting to understand and discover in more and more JavaScript libraries. As the name suggests, prototype pollution refers to an attacker's ability to modify a JavaScript object's prototype. JavaScript objects are like variables, but instead of storing one value (var car = "Fiat"), they can contain multiple values based on a predefined structure (var car ={type:"Fiat", model:"500", color:"white"}). Prototypes define a JavaScript object's default structure and default values, so applications don't crash when no values are set. An attacker that manages to alter a JavaScript object prototype can severely impact how data is processed by the rest of the application, and open the door for more dangerous attacks, such as application crashes (denial of vulnerability bugs) or application hijacks (code execution flaws). Prototype pollution attacks aren't new and have first been documented years ago. However, they are only now being thoroughly cataloged because JavaScript, as a language, has evolved from handling basic UI interactions to working with impressive amounts of sensitive data as a server-side programming language --thanks to the Node.js project. Hence, any prototype pollution attack can no...
Popular jQuery JavaScript library impacted by prototype pollution flaw
ZDNet
·Published Apr 21, 2019
·Updated
Affected Software
1 affected component
jQuery JavaScript library<3.4.0
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses a recent security patch for the jQuery JavaScript library addressing a prototype pollution vulnerability.
2
What security implications are discussed?
The article highlights the risks associated with a rare vulnerability in the jQuery library that can lead to potential exploitation.
3
What products or software are affected?
The affected software is the jQuery JavaScript library, specifically versions up to and including 3.4.0.
4
How widespread is the use of jQuery?
jQuery is used on approximately 74 percent of all internet sites.
5
When was the last major security bug fixed in jQuery prior to this update?
The last major security bug in jQuery was addressed three years prior to this recent patch.