p PatchFirst

CVE-2026-48038

CVE-2026-48038 · joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas

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

joi is a schema description language and data validator for JavaScript. Prior to 17.13.4 and 18.2.1, denial of service is possible via an untrapped exception in services validating user-supplied JSON or object input with recursive link() schemas. When validate() is called without try/catch in a request handler, deeply nested input can trigger an unhandled RangeError and potentially crash the process; lower-impact paths using validateAsync() or try/catch produce a RangeError instead of a structured ValidationError. This issue is fixed in versions 17.13.4 and 18.2.1.

CVSS 5.3 · Moyenne · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • joi

    Versions du logiciel
    • < 17.13.4: Concernée
    • >= 18.0.0, < 18.2.1: Concernée

    Aucun correctif publié

  • joi npm

    Plages de versions concernées
    • SEMVER: ≥ 18.0.0, < 18.2.1

    Mettez à jour vers 18.2.1

  • joi npm

    Plages de versions concernées
    • SEMVER: < 17.13.4

    Mettez à jour vers 17.13.4

Sources originales

Vérifiez votre serveur →