PyPI: pydantic
CVE-2024-3772
Safety vulnerability ID: SFTY-20240415-70183
Safety legacy ID: pyup.io-71590
Regular expression denial of service in Pydanic affected versions allows remote attackers to cause denial of service via a crafted email string.
Overview
Pydantic regular expression denial of service
Advisory
Regular expression denial of service in Pydanic affected versions allows remote attackers to cause denial of service via a crafted email string.
How to Fix
Upgrade
pydantic
to2.4.0
1.10.13
or higher.Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240415-70183/CVE-2024-3772
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-3772
- https://github.com/advisories/GHSA-mr82-8j83-vxmv
- https://github.com/pydantic/pydantic/pull/7360
- 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/package-announce@lists.fedoraproject.org/message/6JBZLMSH4GAZOVBMT2JUO2LXHY7M2ALI
- https://github.com/advisories/GHSA-mr82-8j83-vxmv
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
