Vulnerability CVE-2020-7616


Published: 2020-04-07

Description:
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.

Type:

CWE-20

(Improper Input Validation)

CVSS2 => (AV:N/AC:L/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Express-mock-middleware project -> Express-mock-middleware 

 References:
https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39
https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120

Copyright 2024, cxsecurity.com

 

Back to Top