Skip to main content

Inefficient Regular Expression Complexity in org.webjars.npm:zod

CVE-2023-4316

  • org.webjars.npm:zod
  • zod
Severity High
Score 7.5/10

Summary

Zod versions through 3.22.2 and 4.0.0-beta.1 allows an attacker to perform a Denial of Service while validating emails.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published