Bug 2295938 (CVE-2024-39614)

Summary: CVE-2024-39614 python-django: Potential denial-of-service in django.utils.translation.get_supported_language_variant()
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: apevec, bbuckingham, brking, caswilli, cmoore, davidn, dranck, eglynn, ehelms, epacific, ggainey, gmccullo, gtanzill, haoli, hkataria, jajackso, jcammara, jhardy, jjoyce, jmitchel, jneedle, jobarker, jschluet, jtanner, juwatts, jweng, jwong, kaycoth, kegrant, kholdawa, koliveir, kshier, lcouzens, lhh, lphiri, lsvaty, mabashia, mburns, mgarciac, mhulan, mminar, mskarbek, nmoumoul, pbraun, pcreech, pgrist, rbiba, rbobbitt, rchan, rhos-maint, security-response-team, shvarugh, simaishi, smallamp, 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 Python-Django in the get_supported_language_variant() function. The issue triggers when parsed with very long strings, including a specific set of characters, leading to a potential denial of service attack.
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: 2296458, 2296459, 2296460, 2296461, 2296462, 2296463, 2296464    
Bug Blocks:    
Deadline: 2024-07-09   

Description TEJ RATHI 2024-07-05 09:58:23 UTC
get_supported_language_variant() was subject to a potential
denial-of-service attack when used with very long strings including a specific set of characters.

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

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

Comment 2 errata-xmlrpc 2024-09-05 14:09:54 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 3 errata-xmlrpc 2024-11-05 17:24:59 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 4 errata-xmlrpc 2024-11-13 13:18:07 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

Comment 5 errata-xmlrpc 2025-02-12 00:09:23 UTC
This issue has been addressed in the following products:

  RHUI 4 for RHEL 8

Via RHSA-2025:1335 https://access.redhat.com/errata/RHSA-2025:1335