p PatchFirst

CVE-2024-3772

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

CVSS 5.9 · Medium · EPSS 1.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • pydanticUpdate to 1.10.13 / 2.4.0
  • pydantic Debian 12Update to 1.10.4-1+deb12u1
  • pydantic Debian 13Update to 1.10.13-0.1
  • pydantic Debian 14Update to 1.10.13-0.1
  • and 3 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pydantic"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:11424-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2025:0310-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Python 3 15 SP6 ·
  • USN-7101-1 · Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS ·
  • RHSA-2024:3781 · Red Hat ansible automation platform 2.4 el8, Red Hat ansible automation platform 2.4 el9, Red Hat ansible automation platform developer 2.4 el8, Red Hat ansible automation platform developer 2.4 el9, Red Hat ansible automation platform inside 2.4 el8, Red Hat ansible automation platform inside 2.4 el9 ·

Stack: system · python

Affected products and versions

  • pydantic

    Versions
    • ≥ 2.0, < 2.4.0: Affected (semver)
    • ≥ 1.0, < 1.10.13: Affected (semver)

    Update to 1.10.13; Update to 2.4.0

  • pydantic Debian 12

    Versions
    • 1.10.4-1
    Affected ranges
    • ECOSYSTEM: < 1.10.4-1+deb12u1

    Update to 1.10.4-1+deb12u1

  • pydantic Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.10.13-0.1

    Update to 1.10.13-0.1

  • pydantic Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.10.13-0.1

    Update to 1.10.13-0.1

  • pydantic PyPI

    Versions
    • 2.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.1.0
    • 2.1.1
    All versions (9)
    • 2.2.0
    • 2.2.1
    • 2.3.0
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.4.0

    Update to 2.4.0

  • pydantic PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    All versions (103)
    • 0.0.7
    • 0.0.8
    • 0.1
    • 0.10
    • 0.11
    • 0.11.1
    • 0.11.2
    • 0.12
    • 0.12.1
    • 0.13
    • 0.13.1
    • 0.14
    • 0.15
    • 0.16
    • 0.16.1
    • 0.17
    • 0.18
    • 0.18.1
    • 0.18.2
    • 0.19
    • 0.2
    • 0.2.1
    • 0.20
    • 0.20.1
    • 0.20a1
    • 0.21
    • 0.22
    • 0.23
    • 0.24
    • 0.25
    • 0.26
    • 0.27
    • 0.27a1
    • 0.28
    • 0.29
    • 0.3
    • 0.30
    • 0.30.1
    • 0.31
    • 0.31.1
    • 0.32
    • 0.32.1
    • 0.32.2
    • 0.4
    • 0.5
    • 0.6
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.7
    • 0.7.1
    • 0.8
    • 0.9
    • 0.9.1
    • 1.0
    • 1.0b1
    • 1.0b2
    • 1.1
    • 1.1.1
    • 1.10.0
    • 1.10.0a1
    • 1.10.0a2
    • 1.10.0b1
    • 1.10.1
    • 1.10.10
    • 1.10.11
    • 1.10.12
    • 1.10.2
    • 1.10.3
    • 1.10.4
    • 1.10.5
    • 1.10.6
    • 1.10.7
    • 1.10.8
    • 1.10.9
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    • 1.5.1
    • 1.6
    • 1.6.1
    • 1.6.2
    • 1.7
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.8
    • 1.8.1
    • 1.8.2
    • 1.9.0
    • 1.9.0a1
    • 1.9.0a2
    • 1.9.1
    • 1.9.2
    Affected ranges
    • ECOSYSTEM: < 1.10.13

    Update to 1.10.13

  • pydantic PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    All versions (112)
    • 0.0.7
    • 0.0.8
    • 0.1
    • 0.10
    • 0.11
    • 0.11.1
    • 0.11.2
    • 0.12
    • 0.12.1
    • 0.13
    • 0.13.1
    • 0.14
    • 0.15
    • 0.16
    • 0.16.1
    • 0.17
    • 0.18
    • 0.18.1
    • 0.18.2
    • 0.19
    • 0.2
    • 0.2.1
    • 0.20
    • 0.20.1
    • 0.20a1
    • 0.21
    • 0.22
    • 0.23
    • 0.24
    • 0.25
    • 0.26
    • 0.27
    • 0.27a1
    • 0.28
    • 0.29
    • 0.3
    • 0.30
    • 0.30.1
    • 0.31
    • 0.31.1
    • 0.32
    • 0.32.1
    • 0.32.2
    • 0.4
    • 0.5
    • 0.6
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.7
    • 0.7.1
    • 0.8
    • 0.9
    • 0.9.1
    • 1.0
    • 1.0b1
    • 1.0b2
    • 1.1
    • 1.1.1
    • 1.10.0
    • 1.10.0a1
    • 1.10.0a2
    • 1.10.0b1
    • 1.10.1
    • 1.10.10
    • 1.10.11
    • 1.10.12
    • 1.10.2
    • 1.10.3
    • 1.10.4
    • 1.10.5
    • 1.10.6
    • 1.10.7
    • 1.10.8
    • 1.10.9
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    • 1.5.1
    • 1.6
    • 1.6.1
    • 1.6.2
    • 1.7
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.8
    • 1.8.1
    • 1.8.2
    • 1.9.0
    • 1.9.0a1
    • 1.9.0a2
    • 1.9.1
    • 1.9.2
    • 2.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.1.0
    • 2.1.1
    • 2.2.0
    • 2.2.1
    • 2.3.0
    Affected ranges
    • ECOSYSTEM: < 1.10.13 ∪ ≥ 2.0.0, < 2.4.0

    Update to 1.10.13; Update to 2.4.0

  • pydantic Ubuntu Pro 20.04 LTS

    Versions
    • 0.30.1-1
    • 1.2-1
    • 1.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 1.2-1ubuntu0.1~esm3

    Update to 1.2-1ubuntu0.1~esm3

  • pydantic Ubuntu Pro 22.04 LTS

    Versions
    • 1.7.4-1
    • 1.8.2-1
    Affected ranges
    • ECOSYSTEM: < 1.8.2-1ubuntu0.1~esm1

    Update to 1.8.2-1ubuntu0.1~esm1

Original sources

Check your server →