Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @zag-js/core
  4. ›
  5. CVE-2024-57079

CVE-2024-57079: @zag-js/core prototype pollution

February 6, 2025 (updated March 19, 2025)

A prototype pollution in the lib.deepMerge function of @zag-js/core v0.50.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

References

  • gist.github.com/tariqhawis/4778fc57084766b7b7fb6d25d20b7b9b
  • github.com/advisories/GHSA-fg4m-w35q-vfg2
  • github.com/chakra-ui/zag
  • github.com/chakra-ui/zag/commit/f53edc548f737aadfdd486a0043bdd5f5c068bbf
  • github.com/chakra-ui/zag/pull/2255
  • nvd.nist.gov/vuln/detail/CVE-2024-57079

Code Behaviors & Features

Detect and mitigate CVE-2024-57079 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.82.2

Fixed versions

  • 0.82.2

Solution

Upgrade to version 0.82.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/@zag-js/core/CVE-2024-57079.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.