Advisory

GHSA-mr82-8j83-vxmv

Also known as: CVE-2024-3772, PYSEC-2026-1812

Summary

Pydantic regular expression denial of service

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-15 03:31 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

pydantic

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

  • Fixed version 2.4.0
    pip install --upgrade pydantic==2.4.0

pydantic

PyPI · All systems

Affected

  • introduced 0, fixed 1.10.13 (ecosystem)

Fixed versions

1.10.13

Fix

  • Fixed version 1.10.13
    pip install --upgrade pydantic==1.10.13

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences