GitHub Advisoryadvisory · npm
GHSA-v39h-qm32-8gwq Improperly Controlled Modification of Dynamically-Determined Object Attributes in express-mock-middleware
MEDIUM
Official page ↗
- Aliases
- CVE-2020-7616
- Ecosystem
- npm
- Packages
- express-mock-middleware
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-1321, CWE-915
- Reviewed
- 2021-05-25
Affected packages
• npm express-mock-middleware: <= 0.0.6 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2020-7616 express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. vulnerability