{
  "cveId": "CVE-2021-29510",
  "url": "https://patchblox.com/security/cve/CVE-2021-29510",
  "summary": "CVE-2021-29510 is fixed in python3-pydantic on 1 platform by python3-pydantic 1.2-1ubuntu0.1~esm1 (version 1.2-1ubuntu0.1~esm1), released May 13, 2021. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "python3-pydantic: Pydantic is a data validation and settings management using Python type hinting",
  "description": "Pydantic is a data validation and settings management using Python type hinting. In affected versions passing either \u0060\u0027infinity\u0027\u0060, \u0060\u0027inf\u0027\u0060 or \u0060float(\u0027inf\u0027)\u0060 (or their negatives) to \u0060datetime\u0060 or \u0060date\u0060 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\u0027t 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\u0027ll 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-13T12:15:00Z",
  "severity": "Medium",
  "epss": 0.00975,
  "epssPercentile": 0.62321,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python3-pydantic",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.2-1ubuntu0.1~esm1",
      "fix": "python3-pydantic 1.2-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-pydantic-1.2-1ubuntu0.1-esm1",
      "released": "2021-05-13T12:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}