GHSA-84p7-fh9c-6g8h: Mixme Prototype Pollution Vulnerability
HIGHGHSA-84p7-fh9c-6g8h is a HIGH prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Mixme libraries in the npm ecosystem. The issue involves prototype pollution in mixme. Remediation is available by upgrading affected packages to version 0.5.2.
GHSA-84p7-fh9c-6g8h at a Glance
How to Fix GHSA-84p7-fh9c-6g8h
To remediate this vulnerability, upgrade all affected Mixme dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mixme@0.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mixme
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-84p7-fh9c-6g8h, inspect your project dependencies using npm:
npm ls mixme
Analyze the terminal output to locate any version of Mixme in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.2), your application is affected.
Note: The npm ls mixme command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Mixme, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-84p7-fh9c-6g8h Affected Mixme Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mixme
|
npm |
< 0.5.2
|
0.5.2
|
References
Frequently Asked Questions
What is GHSA-84p7-fh9c-6g8h?
Which Mixme versions are affected?
What version fixes GHSA-84p7-fh9c-6g8h?
Is mixme affected?
What CWE is associated with GHSA-84p7-fh9c-6g8h?
How can I check npm dependencies for GHSA-84p7-fh9c-6g8h?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-84p7-fh9c-6g8h",
"modified" : "2021-09-16T21:30:18Z",
"published" : "2021-09-20T19:52:24Z",
"aliases" : [ ],
"summary" : "Prototype Pollution in mixme",
"details" : "### Impact\nWhen copying properties from a source object to a target object, the target object can gain access to certain properties of the source object and modify their content.\n\n### Patches\nThe problem was patch with a more agressive discovery of secured properties to filter out.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mixme"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/adaltas/node-mixme/security/advisories/GHSA-84p7-fh9c-6g8h"
}, {
"type" : "WEB",
"url" : "https://github.com/adaltas/node-mixme/issues/1"
}, {
"type" : "WEB",
"url" : "https://github.com/adaltas/node-mixme/issues/2"
}, {
"type" : "WEB",
"url" : "https://github.com/adaltas/node-mixme/commit/db70fe9bcbba451e9f8bd794a9fa7cdfa00125ad"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/adaltas/node-mixme"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-79jw-6wg7-r9g4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-09-16T21:30:18Z",
"nvd_published_at" : null
}
}