Bug 2302433 (CVE-2024-41989)

Summary: CVE-2024-41989 python-django: Memory exhaustion in django.utils.numberformat.floatformat()
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbuckingham, ehelms, ggainey, gtanzill, juwatts, jweng, jwong, mhulan, mminar, nmoumoul, pbraun, pcreech, rbiba, rbobbitt, rchan, security-response-team, sskracic
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 security issue was found in Django. If 'floatformat' received a string representation of a number in scientific notation with a large exponent, it could lead to significant memory consumption. To avoid this, decimals with more than 200 digits are now returned as is.
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: 2302523, 2302524    
Bug Blocks:    
Deadline: 2024-08-06   

Description Robb Gatica 2024-08-02 01:45:04 UTC
Description: If floatformat received a string representation of a number in scientific
notation with a large exponent, it could lead to significant memory consumption.

To avoid this, decimals with more than 200 digits are now returned as is.

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

* Django main development branch
* Django 5.1 (currently at release candidate status)
* Django 5.0
* Django 4.2

Comment 2 errata-xmlrpc 2024-09-05 14:10:01 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-10-28 13:22:12 UTC
This issue has been addressed in the following products:

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

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

Comment 5 errata-xmlrpc 2025-02-12 00:09:31 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