Vulnerability Details : CVE-2020-7616
Potential exploit
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.
Products affected by CVE-2020-7616
- cpe:2.3:a:express-mock-middleware_project:express-mock-middleware:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7616
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7616
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2020-7616
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7616
-
https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120
Prototype Pollution in express-mock-middleware | SnykExploit;Third Party Advisory
-
https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39
express-mock-middleware/index.js at master · LingyuCoder/express-mock-middleware · GitHubThird Party Advisory
Jump to