CVE-2021-29510 describes a denial-of-service vulnerability in Pydantic, a Python data validation library, affecting versions prior to 1.8.2, 1.7.4, and 1.6.2. Passing string representations of infinity (e.g., 'infinity', 'inf') or float('inf') to datetime or date fields causes infinite validation loops and 100% CPU utilization on one core. This vulnerability has a CVSS score of 7.5 (HIGH), indicating a network-exploitable attack with low complexity and high availability impact, but no confidentiality or integrity impact. There is no evidence of active exploitation, and no public exploit code or Metasploit modules are available, though it has garnered some community discussion and media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.6.2CPE matchmatch criteria | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* | ||
>= 1.7, < 1.7.4CPE matchmatch criteria | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* | ||
>= 1.8, < 1.8.2CPE matchmatch criteria | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* | ||
33CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | ||
34CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.