ID CVE-2021-29510
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:pydantic_project:pydantic:-:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:-:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.3:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.5:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.6:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.6.4:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.7:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.8:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.9:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.10:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.11:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.11.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.11.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.12:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.13:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.14:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.15:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.16:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.16.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.16.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.17:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.18:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.18.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.18.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.18.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.18.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.19:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.20:-:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.20:-:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.20:alpha1:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.20:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.20.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.20.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.21:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.22:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.23:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.24:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.24:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.25:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.25:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.26:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.26:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.27:-:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.27:-:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.27:alpha1:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.27:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.28:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.28:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.29:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.29:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.30:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.30:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.30.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.30.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.31:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.31:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.31.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.31.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.32:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.32:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.32.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.32.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:0.32.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:0.32.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.0:-:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.0:-:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.7:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.8:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:pydantic_project:pydantic:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:pydantic_project:pydantic:1.8.1:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 25-05-2021 - 14:21)
Impact:
Exploitability:
CWE CWE-835
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
Last major update 25-05-2021 - 14:21
Published 13-05-2021 - 19:15
Last modified 25-05-2021 - 14:21
Back to Top