requirejs@2.2.0 vulnerabilities

Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer

Direct Vulnerabilities

Known vulnerabilities in the requirejs package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution through the function s.contexts._.configure() function. An attacker can execute arbitrary code or cause a denial of service by injecting arbitrary properties into the object prototype.

How to fix Prototype Pollution?

Upgrade requirejs to version 2.3.7 or higher.

<2.3.7
  • M
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution through the config() function. An attacker can execute arbitrary code or cause a denial of service by injecting arbitrary properties into the object prototype.

How to fix Prototype Pollution?

Upgrade requirejs to version 2.3.7 or higher.

<2.3.7
  • M
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution via the config() function, due to improper sanitization of its parameter content.

Note:

According to the maintainer, this library is no longer maintained and will not receive any updates in the near future.

How to fix Prototype Pollution?

Upgrade requirejs to version 2.3.7 or higher.

<2.3.7