Approved changes feed: RSS · Atom

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

part: a version: * update: *

VendorPydantic Project (b4e6fa09-b1a0-5f8b-927d-eaa3d48b8606)
ProductPydantic (ebd749fb-6798-50ba-b7d9-d3d83b646afd)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/pydantic purl2cpe 2026-06-01 10:15:47.344417
pkg:deb/ubuntu/pydantic purl2cpe 2026-06-01 10:15:47.344419
pkg:github/samuelcolvin/pydantic purl2cpe 2026-06-01 10:15:47.344420
pkg:pypi/pydantic purl2cpe 2026-06-01 10:15:47.344422
pkg:rpm/fedora/python-pydantic purl2cpe 2026-06-01 10:15:47.344423
pkg:rpm/opensuse/python-pydantic purl2cpe 2026-06-01 10:15:47.344425
pkg:sourceforge/pydantic.mirror purl2cpe 2026-06-01 10:15:47.344426

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2021-29510 vulnerable 2026-06-08 05:31:26.513330 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.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.