CVE-2021-29510
3.3 · LOWOverview
CVE-2021-29510 is a low-severity vulnerability affecting pydantic pydantic. It was published on May 13, 2021 and has a CVSS 3.1 base score of 3.3 (LOW).
This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.
Technical Description
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 up
Remediation
Check the references section for vendor advisories and patches from pydantic. Update pydantic to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| pydantic | pydantic | >= 0, < 1.6.2 | Affected |
References
Frequently Asked Questions
What is CVE-2021-29510?
CVE-2021-29510 is a low-severity vulnerability affecting pydantic pydantic. It was published on May 13, 2021 and has a CVSS 3.1 base score of 3.3 (LOW).
How severe is CVE-2021-29510?
This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2021-29510?
Check the references section for vendor advisories and patches from pydantic. Update pydantic to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2021-29510?
CyberStrike's AI-powered security agents can automatically detect CVE-2021-29510 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related LOW CVEs from 2021
View all →ide_atapi_cmd_reply_end in hw/ide/atapi.c in QEMU 5.1.0 allows out-of-bounds read access because a b
The ownCloud application before 2.15 for Android allows attackers to use adb to include a PIN prefer
fr-archive-libarchive.c in GNOME file-roller through 3.38.0, as used by GNOME Shell and other softwa
Vulnerability in the Hyperion Financial Management product of Oracle Hyperion (component: Task Autom
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex TCM 4351B inst
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Nextcloud Android app is the Android client for Nextcloud. In versions prior to 3.16.1, a malicious
Trusty TLK contains a vulnerability in its access permission settings where it does not properly res