Advisory

GHSA-v39h-qm32-8gwq

Also known as: CVE-2020-7616

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-09 19:57 UTC
Modified
2026-03-13 22:11 UTC

Affected packages and fixes

express-mock-middleware

npm · All systems

Affected

  • introduced 0, last affected 0.0.6 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences