GHSA-5jqp-qgf6-3pvh · 深刻度: medium · エコシステム: pip — Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
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.
総合評価: CVE-2021-29510 は低リスク(34.1/100)。CVSS 深刻度は低。悪用される可能性が高い(EPSS 0.97%、57 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.07% | 0.97% | +0.90% |
| 2 | 2025-11-21 | 0.27% | 0.07% | -0.20% |
| 3 | 2025-11-18 | — | 0.27% | — |
EPSS の全履歴 (全 12 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 3.3 | 3.1 | LOW |
|
1.8 | 1.4 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-5jqp-qgf6-3pvh · 深刻度: medium · エコシステム: pip — Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-29510 not yet assigned priority: Debian including 1 source packages (pydantic), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-29510 |
ubuntu
|
medium | CVE-2021-29510 medium priority: Ubuntu including 1 source packages (pydantic), 15 status rows across 15 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 6, ignored 5, DNE 2, released 2. | https://ubuntu.com/security/CVE-2021-29510 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| pydantic | pydantic | < 1.6.2 | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* |
| pydantic | pydantic | >= 1.7, < 1.7.4 | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* |
| pydantic | pydantic | >= 1.8, < 1.8.2 | cpe:2.3:a:pydantic:pydantic:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |