CVE-2024-3772: Regular expression denial of service in Pydantic < 2.4.0

Published Apr 15, 2024
·
Updated

Last updated 12 November 2024

Other sources

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

— NVD

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.

— GitHub

Affected Software

13 affected componentsFixes available
pip/pydantic<1.10.13
1.10.13
pip/pydantic>=2.0.0<2.4.0
2.4.0
Pydantic Pydantic<1.10.13
Pydantic Pydantic>=2.0<2.4.0
Fedoraproject Fedora=38
redhat/python-pydantic<1.10.13
1.10.13
redhat/python-pydantic<2.4.0
2.4.0
debian/pydantic<1.10.4-1+deb12u1
1.10.4-1+deb12u1
debian/pydantic<1.10.13-0.1
1.10.13-0.1
debian/pydantic<1.10.13-0.1
1.10.13-0.1
debian/pydantic
1.10.4-1+deb12u12.10.6-22.13.5-22.14.1-1
ubuntu/pydantic<1.2-1ubuntu0.1~esm3
1.2-1ubuntu0.1~esm3
ubuntu/pydantic<1.8.2-1ubuntu0.1~esm1
1.8.2-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.13
  2. Upgrade

    Upgrade pip/pydantic to a version that resolves this vulnerability.

    Fixed in 2.4.0
  3. Upgrade

    Upgrade redhat/python-pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.13
  4. Upgrade

    Upgrade redhat/python-pydantic to a version that resolves this vulnerability.

    Fixed in 2.4.0
  5. Upgrade

    Upgrade debian/pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.4-1+deb12u1
  6. Upgrade

    Upgrade debian/pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.13-0.1
  7. Upgrade

    Upgrade debian/pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.4-1+deb12u1Fixed in 2.10.6-2Fixed in 2.13.5-2Fixed in 2.14.1-1
  8. Upgrade

    Upgrade ubuntu/pydantic to a version that resolves this vulnerability.

    Fixed in 1.2-1ubuntu0.1~esm3
  9. Upgrade

    Upgrade ubuntu/pydantic to a version that resolves this vulnerability.

    Fixed in 1.8.2-1ubuntu0.1~esm1
  10. Upgrade

    Upgrade pydantic/pydantic to a version that resolves this vulnerability.

    Fixed in 2.4.0
  11. Upgrade

    Upgrade pydantic/pydantic to a version that resolves this vulnerability.

    Fixed in 1.10.13

Event History

Apr 15, 2024
CVE Published
via MITRE·01:42 AM
Data Sourced
via MITRE·01:42 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·03:16 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:31 AM
Data Sourced
via GitHub·03:31 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·12:30 PM
DescriptionSeverityAffected Software
Apr 25, 2024
Advisory Published
via GitHub·05:02 AM
Feb 13, 2025
Updated
via NVD·06:18 PM
Description
Dec 9, 2025
Data Sourced
via NVD·06:26 PM
RemedyAffected Software
Updated
via NVD·06:26 PM
Severity
Event
via NVD·06:26 PM
Jun 17, 2026
Updated
via NVD·07:44 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-3772?

CVE-2024-3772 is classified as a denial of service vulnerability in Pydantic.

2

How do I fix CVE-2024-3772?

To fix CVE-2024-3772, upgrade Pydantic to version 1.10.13 or 2.4.0.

3

Which versions of Pydantic are affected by CVE-2024-3772?

Pydantic versions before 1.10.13 and between 2.0.0 and 2.4.0 are affected by CVE-2024-3772.

4

Can CVE-2024-3772 be exploited remotely?

Yes, CVE-2024-3772 can be exploited remotely through a crafted email string.

5

Is there a known workaround for CVE-2024-3772?

There are no specific workarounds recommended for CVE-2024-3772 other than upgrading to the fixed versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203