Open-source package vulnerability · PyPI
CVE-2024-3772: Pydantic regular expression denial of service
mediumCVSS 3.1 5.9GHSA-mr82-8j83-vxmv
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.
Published Apr 15, 2024 · Updated Feb 13, 2025
Affected packages
pydantic
- Ecosystem
- PyPI
- Affected
- >= 2.0.0, < 2.4.0
- Fixed in
- 2.4.0
- Check
pip show pydantic
pydantic
- Ecosystem
- PyPI
- Affected
- < 1.10.13
- Fixed in
- 1.10.13
- Check
pip show pydantic
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-3772
- https://github.com/pydantic/pydantic/pull/7360
- https://github.com/pydantic/pydantic/commit/59d8f38fd6220e3917c53785dbc70317d6f8e631
- https://github.com/pydantic/pydantic/commit/e4393ae6145c4dadff739990bb0116c6dec3441b
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6JBZLMSH4GAZOVBMT2JUO2LXHY7M2ALI
- https://github.com/advisories/GHSA-mr82-8j83-vxmv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
