USN-7101-1: Pydantic vulnerability

Publication date

12 November 2024

Overview

Pydantic could be made to crash if it received specially crafted input.


Packages

  • pydantic - Data validation using Python type hints.

Details

It was discovered that Pydantic incorrectly handled certain regular
expressions. A remote attacker could possibly use this issue to cause a
denial of service via a crafted email string.

It was discovered that Pydantic incorrectly handled certain regular
expressions. A remote attacker could possibly use this issue to cause a
denial of service via a crafted email string.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy python3-pydantic –  1.8.2-1ubuntu0.1~esm1  
20.04 focal python3-pydantic –  1.2-1ubuntu0.1~esm3  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›