GHSA-799q-f2px-wx8c: Duplicate Advisory @alizeait/unflatto Prototype Pollution Vulnerability

HIGH
CWE-1321
Published
Advisory Summary

GHSA-799q-f2px-wx8c is a HIGH @alizeait/unflatto prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves @alizeait/unflatto prototype pollution via `exports.unflatto` method. Remediation is available in the latest vendor maintenance releases.

GHSA-799q-f2px-wx8c at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-799q-f2px-wx8c
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-799q-f2px-wx8c

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@alizeait/unflatto fixed: Latest secure release
npm install @alizeait/unflatto@Latest secure release
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 @alizeait/unflatto

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-799q-f2px-wx8c, inspect your project dependencies using npm:

npm ls @alizeait/unflatto

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls @alizeait/unflatto 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 Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-q8jq-4rm5-4hm5. This link is maintained to preserve external references. ## Original Description alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/index.js. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

GHSA-799q-f2px-wx8c Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
@alizeait/unflatto
npm
≤ 1.0.2

References

Frequently Asked Questions

What is GHSA-799q-f2px-wx8c?
GHSA-799q-f2px-wx8c is a security vulnerability in Duplicate Advisory involving @alizeait/unflatto Prototype Pollution via `exports.unflatto` Method under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: @alizeait/unflatto.
What version fixes GHSA-799q-f2px-wx8c?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is @alizeait/unflatto affected?
Yes, @alizeait/unflatto is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-799q-f2px-wx8c?
GHSA-799q-f2px-wx8c 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-799q-f2px-wx8c?
Run the dependency tree command: 'npm ls @alizeait/unflatto'. 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-799q-f2px-wx8c",
  "modified" : "2025-04-01T14:32:14Z",
  "published" : "2025-03-28T21:30:46Z",
  "withdrawn" : "2025-04-01T14:32:14Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: @alizeait/unflatto Prototype Pollution via `exports.unflatto` Method",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-q8jq-4rm5-4hm5. This link is maintained to preserve external references.\n\n## Original Description\nalizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/index.js. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@alizeait/unflatto"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-38988"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alizeait/unflatto/issues/32"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/mestrtee/4c5dfb66bea377889c44dd6c8af28713"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alizeait/unflatto"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-31T15:57:15Z",
    "nvd_published_at" : "2025-03-28T21:15:16Z"
  }
}