p PatchFirst

CVE-2023-54404

CVE-2023-54404 · Zod can exhaust memory while validating oversized constrained collections

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 8.2 · Élevée · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • zod npm

    Plages de versions concernées
    • SEMVER: < 4.6.6

    Mettez à jour vers 4.6.6

Sources originales

Vérifiez votre serveur →