Skip to content

← Public intelligence

npm package

zod

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.2npmAmendedPublished

    Zod can exhaust memory while validating oversized constrained collections

    CVE-2023-54404 · GHSA-mrhx-c7xc-m3w5

    Affected
    • npm zod < 4.6.6
    Fixed in
    4.6.6· Vendor fix available
    Issue
    Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early termination, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions.

    Recommended action: Upgrade to 4.6.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.3npmAmendedPublished

    Zod denial of service vulnerability

    CVE-2023-4316 · GHSA-m95q-7qp3-xv42

    Affected
    • npm zod <= 3.22.2
    Fixed in
    3.22.3· Vendor fix available
    Issue
    Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.

    Recommended action: Upgrade to 3.22.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →