Advisory

UBUNTU-CVE-2024-56374

Also known as: CVE-2024-56374

Summary

The record has no summary.

Details

An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)

Severity

Medium Basis: CVSS v3 score 5.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Dates

Published
2025-01-14 14:00 UTC
Modified
2026-10-01 14:02 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:2.2.12-1ubuntu0.27 (ecosystem)

Fixed versions

2:2.2.12-1ubuntu0.27

Fix

  • Fixed version 2:2.2.12-1ubuntu0.27
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-django

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:3.2.12-2ubuntu1.16 (ecosystem)

Fixed versions

2:3.2.12-2ubuntu1.16

Fix

  • Fixed version 2:3.2.12-2ubuntu1.16
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-django

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3:4.2.11-1ubuntu1.5 (ecosystem)

Fixed versions

3:4.2.11-1ubuntu1.5

Fix

  • Fixed version 3:4.2.11-1ubuntu1.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences