Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. zod
  4. ›
  5. CVE-2023-4316

CVE-2023-4316: Inefficient Regular Expression Complexity

September 28, 2023 (updated September 29, 2023)

Zod in version 3.22.2 allows an attacker to perform a denial of service while validating emails

References

  • fluidattacks.com/advisories/swift
  • nvd.nist.gov/vuln/detail/CVE-2023-4316
  • www.npmjs.com/package/zod

Code Behaviors & Features

Detect and mitigate CVE-2023-4316 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

Version 3.22.2

Fixed versions

  • 3.23.0-canary.20230815T194013

Solution

Upgrade to version 3.23.0-canary.20230815T194013 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-1333: Inefficient Regular Expression Complexity

Source file

npm/zod/CVE-2023-4316.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:03 +0000.