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.
References
Link | Resource |
---|---|
https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 | Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 | Exploit Third Party Advisory |
https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 | Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
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 | |
References | () 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')