Vulnerability advisory

CVE-2023-4316

Zod 3.22.2 - Regular expression Denial of Service

Published Updated OSV record ↗

Also known as GHSA-m95q-7qp3-xv42

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/colinhacks/zod ↗
792b3ef0d41c144cd10641c6966b98dae1222d82 through 792b3ef0d41c144cd10641c6966b98dae1222d82No fix listed
Also listed as affected (2)
  • 3.22.2
  • v3.22.2

Description

Zod in versions 3.21.0 up to and including 3.22.3 allows an attacker to perform a denial of service while validating emails.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools