PyPI (Python)Worst: Moderate2 advisories

pydantic: known vulnerabilities

pydantic has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2024-04-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pydantic versions running across your servers, containers and images, and ranks what to patch first.

How to fix pydantic

Upgrade pydantic to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade pydantic (pin pydantic>=1.10.13)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Pydantic regular expression denial of service Moderate 5.9 CWE-1333 — Affected: before 1.10.13. Fixed in 1.10.13. Published 2024-04-15. GHSA-mr82-8j83-vxmv · CVE-2024-3772
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic Moderate 3.3 CWE-835 — Affected: from 1.7 up to 1.7.4. Fixed in 1.7.4. Published 2021-05-13. GHSA-5jqp-qgf6-3pvh · CVE-2021-29510

Find pydantic across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.