Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pydantic
  4. ›
  5. CVE-2024-3772

CVE-2024-3772: Pydantic regular expression denial of service

April 15, 2024 (updated February 13, 2025)

Regular expression denial of service in Pydantic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.

References

  • github.com/advisories/GHSA-mr82-8j83-vxmv
  • github.com/pydantic/pydantic
  • github.com/pydantic/pydantic/commit/59d8f38fd6220e3917c53785dbc70317d6f8e631
  • github.com/pydantic/pydantic/commit/e4393ae6145c4dadff739990bb0116c6dec3441b
  • github.com/pydantic/pydantic/pull/7360
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6JBZLMSH4GAZOVBMT2JUO2LXHY7M2ALI
  • nvd.nist.gov/vuln/detail/CVE-2024-3772

Code Behaviors & Features

Detect and mitigate CVE-2024-3772 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.10.13, all versions starting from 2.0.0 before 2.4.0

Fixed versions

  • 2.4.0
  • 1.10.13

Solution

Upgrade to versions 1.10.13, 2.4.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/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

pypi/pydantic/CVE-2024-3772.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:55 +0000.