Bug 2275106 (CVE-2024-3772)

Summary: CVE-2024-3772 python-pydantic: regular expression denial of service via crafted email string
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, davidn, epacific, hkataria, jcammara, jhardy, jneedle, jobarker, kaycoth, kshier, mabashia, omaciel, rbobbitt, simaishi, smcdonal, stcannon, teagle, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-pydantic 1.10.13, python-pydantic 2.4.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Pydantic, where it did not properly validate regular expressions containing white spaces. This flaw allows remote users to cause a denial of service attack via a crafted email string.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2275108    
Bug Blocks: 2275111    

Description Mauro Matteo Cascella 2024-04-15 12:30:10 UTC
Regular expression denial of service in Pydanic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.

Upstream PR:
https://github.com/pydantic/pydantic/pull/7360

Comment 1 Mauro Matteo Cascella 2024-04-15 12:41:13 UTC
Created python-pydantic tracking bugs for this issue:

Affects: fedora-38 [bug 2275108]

Comment 4 errata-xmlrpc 2024-06-10 18:37:41 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.4 for RHEL 9
  Red Hat Ansible Automation Platform 2.4 for RHEL 8

Via RHSA-2024:3781 https://access.redhat.com/errata/RHSA-2024:3781