Wiz Agents & Workflows are here

CVE-2024-3772
Python vulnerability analysis and mitigation

Overview

CVE-2024-3772 is a security vulnerability affecting Pydantic versions prior to 2.4.0 and 1.10.13. The vulnerability was discovered in the email validation functionality where a regular expression denial of service (ReDoS) could be triggered via a specially crafted email string (NVD, Ubuntu Security).

Technical details

The vulnerability exists in Pydantic's email validation mechanism where the regular expression pattern used for validation could be exploited through carefully crafted input containing excessive whitespace characters. The issue has been assigned a CVSS v3.1 base score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-1333 (Inefficient Regular Expression Complexity) (NVD).

Impact

When exploited, this vulnerability can cause a denial of service condition by consuming excessive CPU resources during email validation, potentially making the affected service unresponsive (Github PR).

Mitigation and workarounds

The vulnerability has been fixed in Pydantic versions 2.4.0 and 1.10.13. Users are advised to upgrade to these or later versions. For Ubuntu users, fixes are available in Ubuntu 22.04 LTS (python3-pydantic - 1.8.2-1ubuntu0.1~esm1) and Ubuntu 20.04 LTS (python3-pydantic - 1.2-1ubuntu0.1~esm3) (Ubuntu USN).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33641HIGH7.8
  • PythonPython
  • glances
NoNoMar 30, 2026
CVE-2026-34070HIGH7.5
  • PythonPython
  • langchain-core
NoYesMar 31, 2026
CVE-2026-34231MEDIUM6.1
  • PythonPython
  • slippers
NoYesMar 30, 2026
CVE-2026-34073LOW1.7
  • PythonPython
  • python3-cryptography-debuginfo
NoYesMar 31, 2026
GHSA-955r-262c-33jcCRITICALN/A
  • PythonPython
  • telnyx
NoNoMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management