Bug 2295935 (CVE-2024-38875)

Summary: CVE-2024-38875 python-django: Potential denial-of-service in django.utils.html.urlize()
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, apevec, bbuckingham, brking, caswilli, cmoore, davidn, eglynn, ehelms, epacific, ggainey, gmccullo, gtanzill, haoli, hkataria, jcammara, jhardy, jjoyce, jmitchel, jneedle, jobarker, jschluet, jtanner, juwatts, jweng, jwong, kaycoth, kholdawa, kshier, lhh, lphiri, lsvaty, mabashia, mburns, mgarciac, mhulan, mminar, nmoumoul, omaciel, pbraun, pcreech, pgrist, rbiba, rbobbitt, rchan, rhos-maint, security-response-team, simaishi, smcdonal, sskracic, stcannon, teagle, tfister, thavo, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Django framework's urlize and urlizetrunc functions, where an attacker can input a certain string containing a large number of brackets, leads to a potential denial of service when the application attempts to process the excessive input.
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: 2296450, 2296451, 2296452, 2296453, 2296454, 2296455    
Bug Blocks:    
Deadline: 2024-07-26   

Description TEJ RATHI 2024-07-05 09:58:05 UTC
django.utils.html.urlize() was subject to a potential denial-of-service attack via certain inputs with a very large number of brackets.

Affected versions
=================

* Django main development branch
* Django 5.1 
* Django 5.0
* Django 4.2

Comment 1 errata-xmlrpc 2024-09-05 14:10:28 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:6428 https://access.redhat.com/errata/RHSA-2024:6428

Comment 2 errata-xmlrpc 2024-11-05 17:24:51 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

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

Comment 3 errata-xmlrpc 2024-11-13 13:17:57 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Services on OpenShift 18.0

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