Approved changes feed: RSS · Atom

cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorPydantic (6f5de00e-79d0-582d-accc-2e89c5d865ef)
ProductPydantic (6d1a591f-4128-5ced-a6be-fb82bcb0a0fa)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/pydantic/pydantic purl2cpe 2026-06-01 10:12:58.672365

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-3772 vulnerable 2026-06-08 06:43:51.494330 Regular expression denial of service in Pydantic < 2.4.0
MEDIUM (5.9)
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: 2024-04-15T01:42:07.888Z
Updated: 2025-02-13T17:53:00.106Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29510 vulnerable 2026-06-08 05:31:26.514543 Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
LOW (3.3)
Pydantic is a data validation and settings management using Python type hinting. In affected versions passing either `'infinity'`, `'inf'` or `float('inf')` (or their negatives) to `datetime` or `date` fields causes validation to run forever with 100% CPU usage (on one CPU). Pydantic has been patched with fixes available in the following versions: v1.8.2, v1.7.4, v1.6.2. All these versions are available on pypi(https://pypi.org/project/pydantic/#history), and will be available on conda-forge(https://anaconda.org/conda-forge/pydantic) soon. See the changelog(https://pydantic-docs.helpmanual.io/) for details. If you absolutely can't upgrade, you can work around this risk using a validator(https://pydantic-docs.helpmanual.io/usage/validators/) to catch these values. This is not an ideal solution (in particular you'll need a slightly different function for datetimes), instead of a hack like this you should upgrade pydantic. If you are not using v1.8.x, v1.7.x or v1.6.x and are unable to upgrade to a fixed version of pydantic, please create an issue at https://github.com/samuelcolvin/pydantic/issues requesting a back-port, and we will endeavour to release a patch for earlier versions of pydantic.
Published: 2021-05-13T18:55:11.000Z
Updated: 2024-08-03T22:11:05.442Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.