Skip to content
Heist/ feed
Back to feed
High

Zod 3.22.2 - Regular expression Denial of Service

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-4316
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:45 UTC · Revision 1

Source evidence

Zod 3.22.2 - Regular expression Denial of Service

core-osv · Original source

Published 28 Sept 2023, 20:34 UTC

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.

osv:CVE-2023-4316
Complete source record
{
  "id": "544e915a0d70df917b6c1b90f3f30b660a17865f86a591f44c83719eb4b5e067",
  "url": "https://osv.dev/vulnerability/CVE-2023-4316",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Zod 3.22.2 - Regular expression Denial of Service",
    "summary": "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.",
    "evidence": "osv:CVE-2023-4316",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-4316",
      "aliases": [
        "CVE-2023-4316",
        "GHSA-m95q-7qp3-xv42"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/colinhacks/zod",
              "type": "GIT",
              "events": [
                {
                  "introduced": "792b3ef0d41c144cd10641c6966b98dae1222d82"
                },
                {
                  "last_affected": "792b3ef0d41c144cd10641c6966b98dae1222d82"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zod:zod:3.22.2:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "3.22.2"
                      },
                      {
                        "last_affected": "3.22.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.22.2",
            "v3.22.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4316.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.314794964Z",
      "provider": "osv",
      "references": [
        "https://registry.npmjs.org",
        "https://www.npmjs.com/package/zod",
        "https://fluidattacks.com/advisories/swift",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4316.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-4316"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333"
        ],
        "cna_assigner": "Fluid Attacks",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.21.0"
                  },
                  {
                    "last_affected": "3.22.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4316.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-4316",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505824,
  "published_at": "2023-09-28T20:34:09.161+00:00"
}