Vulnerability · Published Apr 15, 2024 · Assigned by directcyber

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

Medium 5.9

In plain English

A medium-severity regular-expression denial of service in Pydantic from Pydantic. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.0%top 38.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pydantic1.10.4-1+deb12u1DEBIAN-CVE-2024-3772
Debian:13pydantic1.10.13-0.1DEBIAN-CVE-2024-3772
Debian:14pydantic1.10.13-0.1DEBIAN-CVE-2024-3772
PyPIpydantic2.4.0GHSA-mr82-8j83-vxmv
PyPIpydantic1.10.13GHSA-mr82-8j83-vxmv
PyPIpydantic1.10.13, 2.4.0PYSEC-2026-1812

Affected products (as reported)

VendorProductVersions
Pydantic Pydantic 2.0 – before 2.4.01.0 – before 1.10.13

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References