Skip to content

Product

pypi pydantic vulnerabilities

9 published CVES affecting pypi pydantic, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).

Total
9
Critical
0
High
2
Medium
7
Low
0
Unscored
0
CISA KEV
0

Latest pypi pydantic CVEs

Newest publication first

  1. MediumCVSS 6.9 EPSS 0.82%

    Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py)...

  2. MediumCVSS 6.9 EPSS 0.82%

    Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate. The ConstrainedList.unique_items_validator validator (in pydantic/types.py) checks each item against...

  3. MediumCVSS 6.3 EPSS 0.80%

    Validating an untrusted string in exponent notation into a Fraction field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate. String inputs are passed to the Fraction constructor. For strings in exponent notation (e.g. '1e8000000')...

  4. MediumCVSS 6.3 EPSS 0.86%

    Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_multihost_url() function (in pydantic-core/...

  5. MediumCVSS 6.3 EPSS 0.87%

    When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on pydantic_extra, resulting in extra data not matching the declared type. This is the case if you define pydantic_extra as e.g. dict[Annotated[str,...

  6. MediumCVSS 6.3 EPSS 0.47%

    When extra data is allowed (extra=Extra.allow), providing a pydantic_initialised key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The init() method of Pydantic V1 dataclasses stores all the provid...

Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.