Skip to content
OpenAdvisories
High · 7.5 CVE-2024-24680 BIT-django-2024-24680EUVD-2024-0038GHSA-xxj9-f6rv-m3x4PYSEC-2024-28

Django denial-of-service attack in the intcomma template filter

Published Feb 6, 2024 · Updated Nov 4, 2025 · Assigned by mitre

Description

An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:4.2.10-1 —
Debian 13 python-django 3:4.2.10-1 —
Debian 12 python-django 3:3.2.25-0+deb12u1 DSA-6136-1
Debian 11 python-django 2:2.2.28-1~deb11u7 DLA-4210-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.10 USN-6623-1
Ubuntu 20.04 LTS python-django 2:2.2.12-1ubuntu0.21 USN-6623-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm3 USN-6623-1
Ubuntu Pro 16.04 LTS python-django No fix yet —
Ubuntu Pro 14.04 LTS python-django No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 python-aiohttp +1 3.9.4-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-django +1 4.2.14-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-jinja2 +1 3.1.4-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-pillow +1 10.3.0-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-aiohttp +1 3.9.4-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-django +1 4.2.14-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-jinja2 +1 3.1.4-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-pillow +1 10.3.0-1.el8pc RHSA-2024:5662
Red Hat Rhui 4 python-aiohttp +1 3.9.2-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-cryptography +1 41.0.6-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-django +1 4.2.11-1.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-ecdsa +1 0.18.0-4.el8ui RHSA-2024:1878
Red Hat Rhui 4 python-jinja2 +1 3.1.3-1.el8ui RHSA-2024:1878
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenStack 17 python-django +1 2.2.24-8.el9ost RHSA-2024:2731
Red Hat Ansible Automation Platform Inside 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform Developer 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 ansible-automation-platform-installer 2.4-6.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 ansible-rulebook +3 1.0.5-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.5-2.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 python-aiohttp +1 3.9.1-1.el9ap RHSA-2024:1640, RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-django +1 4.2.10-1.el9ap RHSA-2024:1640, RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pillow +1 10.0.1-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pycryptodomex +1 3.20.0-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-aiohttp +1 3.9.1-1.el8ap RHSA-2024:1640, RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-django +1 4.2.10-1.el8ap RHSA-2024:1640, RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pillow +1 10.0.1-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pycryptodomex +1 3.20.0-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 9 python-Django1 1.11.29-3.58.3 SUSE-SU-2024:0874-1
SUSE OpenStack Cloud Crowbar 8 python-Django 1.11.29-3.59.3 SUSE-SU-2024:0875-1
SUSE OpenStack Cloud 9 python-Django1 1.11.29-3.58.3 SUSE-SU-2024:0874-1
SUSE OpenStack Cloud 9 venv-openstack-horizon 14.1.1~dev11-4.51.4 SUSE-SU-2024:0874-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 8 python-Django 1.11.29-3.59.3 SUSE-SU-2024:0875-1
SUSE OpenStack Cloud 8 venv-openstack-horizon 12.0.5~dev6-14.54.5 SUSE-SU-2024:0875-1
SUSE HPE Helion OpenStack 8 python-Django 1.11.29-3.59.3 SUSE-SU-2024:0875-1
SUSE HPE Helion OpenStack 8 venv-openstack-horizon-hpe 12.0.5~dev6-14.54.4 SUSE-SU-2024:0875-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 4.2.10-1.1 openSUSE-SU-2026:11248-1, openSUSE-SU-2024:13673-1
openSUSE Tumbleweed python-Django4 4.2.14-1.1 openSUSE-SU-2026:11235-1, openSUSE-SU-2024:14208-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-django 5.0.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 3.2, < 3.2.24 3.2.24 GHSA-xxj9-f6rv-m3x4
PyPI django >= 4.2, < 4.2.10 4.2.10 GHSA-xxj9-f6rv-m3x4
PyPI django >= 5.0, < 5.0.2 5.0.2 GHSA-xxj9-f6rv-m3x4
PyPI django >= 3.2, < 3.2.24 · >= 4.2, < 4.2.10 · >= 5.0, < 5.0.2 3.2.24, 4.2.10, 5.0.2 PYSEC-2024-28

Advisories 20

References