Skip to main content

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in org.webjars.npm:requirejs

CVE-2024-38999

  • org.webjars.npm:requirejs
  • requirejs
Severity Medium
Score 6.5/10

Summary

The package jrburke requirejs was discovered to contain a Prototype Pollution via the "s.contexts._.configure". This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties. This vulnerability affects versions prior to 2.3.7.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-1321 - Prototype Pollution

Prototype pollution is one of the lesser-known vulnerabilities. It allows attackers to abuse the rules of JavaScript by injecting properties into the general object “Object” in JS. Modifying the prototype of “Object” affects the behavior of all objects in the entire app, potentially resulting in denial of service, arbitrary code execution, cross-site scripting, etc.

Advisory Timeline

  • Published