Skip to content

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

MediumCVSS 5.3 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
express-mock-middleware project express-mock-middleware <= 0.0.6 after 0.0.6 Fixed
npm express-mock-middleware(npm) <= 0.0.6 after 0.0.6 Fixed

Affected products

ProductAffected versionsFixed in
npm express-mock-middleware(npm) <= 0.0.6 No fix listed
express-mock-middleware project express-mock-middleware <= 0.0.6 No fix listed

References