CVE-2020-7616

express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk.
Configurations

Configuration 1 (hide)

cpe:2.3:a:express-mock-middleware_project:express-mock-middleware:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:37

Type Values Removed Values Added
References () https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 - Third Party Advisory () https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 - Third Party Advisory
References () https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 - Exploit, Third Party Advisory () https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 - Exploit, Third Party Advisory

Information

Published : 2020-04-07 14:15

Updated : 2024-11-21 05:37


NVD link : CVE-2020-7616

Mitre link : CVE-2020-7616

CVE.ORG link : CVE-2020-7616


JSON object : View

Products Affected

express-mock-middleware_project

  • express-mock-middleware
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')