USN-6553-1: Pydantic vulnerability
12 December 2023
Pydantic could be made to crash if it received specially crafted input.
Releases
Packages
- pydantic - Data validation using Python type hints.
Details
Nina Jensen discovered that Pydantic incorrectly handled user input in the
date and datetime fields. An attacker could possibly use this issue to
cause a denial of service via application crash. (CVE-2021-29510)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 20.04
-
python3-pydantic
-
1.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.