GHSA-84p7-fh9c-6g8h: Mixme Prototype Pollution Vulnerability

HIGH
CWE-1321
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-84p7-fh9c-6g8h
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Mixme
Package Ecosystem npm
Published Date
Last Updated

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.

mixme fixed: 0.5.2
npm install mixme@0.5.2
Verify Direct and Transitive Dependencies

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

### Impact When 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. ### Patches The problem was patch with a more agressive discovery of secured properties to filter out.

GHSA-84p7-fh9c-6g8h Affected Mixme Versions

1 component(s)
Fixed Versions:
0.5.2
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?
GHSA-84p7-fh9c-6g8h is a security vulnerability in Mixme involving Prototype Pollution in mixme under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Mixme versions are affected?
Affected versions include releases prior to 0.5.2 across affected packages: mixme.
What version fixes GHSA-84p7-fh9c-6g8h?
Upgrading to 0.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mixme affected?
Yes, mixme is affected in releases prior to 0.5.2. Upgrade your dependency to 0.5.2 or later.
What CWE is associated with GHSA-84p7-fh9c-6g8h?
GHSA-84p7-fh9c-6g8h is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (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.).
How can I check npm dependencies for GHSA-84p7-fh9c-6g8h?
Run the dependency tree command: 'npm ls mixme'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}