Advisory

GHSA-79jw-6wg7-r9g4

Also known as: CVE-2021-28860, CVE-2021-29491, GHSA-r5cq-9537-9rpf

Summary

Use of Potentially Dangerous Function in mixme

Details

Impact

In Node.js mixme v0.5.0, an attacker can add or alter properties of an object via 'proto' through the mutate() and merge() functions. The polluted attribute will be directly assigned to every object in the program. This will put the availability of the program at risk causing a potential denial of service (DoS).

Patches
The problem is corrected starting with version 0.5.1.

References
Issue: https://github.com/adaltas/node-mixme/issues/1
Commit: https://github.com/adaltas/node-mixme/commit/cfd5fbfc32368bcf7e06d1c5985ea60e34cd4028

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-06 15:45 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

mixme

npm · All systems

Affected

  • introduced 0, fixed 0.5.1 (semver)

Fixed versions

0.5.1

Fix

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