CVE-2021-29510
2 advisories.
PyPI/pydantic CVE-2021-29510: low 3.3
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Action: Upgrade pydantic to 1.6.2 or later.
pip install pydantic==1.6.2pip install pydantic==1.8.2pip install pydantic==1.7.4Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 1.6.2 | - |
| 1.8 | 1.8.2 | - |
| 1.7 | 1.7.4 | - |
Fixed versions
| 1.6.2 | 1.8.2 | 1.7.4 |
Sources
- osv: GHSA-5jqp-qgf6-3pvh
- https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh
- https://nvd.nist.gov/vuln/detail/CVE-2021-29510
- https://github.com/pydantic/pydantic/commit/1c24f1d74ba95ea985b50bdc001ce96c813229aa
- https://github.com/pydantic/pydantic/commit/80e0dd3f752bef145dce12f160d262bb40ec8d47
- https://github.com/pydantic/pydantic/commit/bdde15b7b947c94ca00fd6eb92da8db390a13520
- https://github.com/samuelcolvin/pydantic/commit/7e83fdd2563ffac081db7ecdf1affa65ef38c468
- https://github.com/pydantic/pydantic
- https://github.com/pypa/advisory-database/tree/main/vulns/pydantic/PYSEC-2021-47.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S2HT266L6Q7H6ICP7DFGXOGBJHNNKMKB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UEFWM7DYKD2ZHE7R5YT5EQWJPV4ZKYRB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UMKAJX4O6IGBBCE32CO2G7PZQCCQSBLV
CVE-2021-29510 · published · modified · JSON
PyPI/pydantic CVE-2021-29510: unknown
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
Action: Upgrade pydantic to 1.6.2 or later.
pip install pydantic==1.6.2pip install pydantic==1.7.4pip install pydantic==1.8.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 1.6.2 | - |
| 1.7 | 1.7.4 | - |
| 1.8 | 1.8.2 | - |
Fixed versions
| 1.6.2 | 1.7.4 | 1.8.2 |
Sources
- osv: PYSEC-2021-47
- https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh
- https://github.com/samuelcolvin/pydantic/commit/7e83fdd2563ffac081db7ecdf1affa65ef38c468
CVE-2021-29510 · published · modified · JSON