Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-7616 EUVD-2021-2587GHSA-v39h-qm32-8gwq

Improperly Controlled Modification of Dynamically-Determined Object Attributes in express-mock-middleware

Published Apr 7, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— express-mock-middleware All versions including 0.0.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm express-mock-middleware <= 0.0.6 — GHSA-v39h-qm32-8gwq

References