Advisory

USN-6946-1

Also known as: CVE-2024-41989, CVE-2024-41990, CVE-2024-41991, CVE-2024-42005

Summary

python-django vulnerabilities

Details

It was discovered that Django incorrectly handled certain strings in
floatformat function. An attacker could possibly use this issue to
cause a memory exhaustion. (CVE-2024-41989)

It was discovered that Django incorrectly handled very large inputs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2024-41990)

It was discovered that Django in AdminURLFieldWidget incorrectly
handled certain inputs with a very large number of Unicode characters.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2024-41991)

It was discovered that Django incorrectly handled certain JSON objects.
An attacker could possibly use this issue to cause a potential SQL
injection. This issue only affected Ubuntu 22.04 LTS, and Ubuntu 24.04
LTS. (CVE-2024-42005)

Severity

Not rated by the source.

Dates

Published
2024-08-06 16:21 UTC
Modified
2026-04-27 17:32 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

2:2.2.12-1ubuntu0.24

Fix

  • Fixed version 2:2.2.12-1ubuntu0.24
    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.13 (ecosystem)

Fixed versions

2:3.2.12-2ubuntu1.13

Fix

  • Fixed version 2:3.2.12-2ubuntu1.13
    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.2 (ecosystem)

Fixed versions

3:4.2.11-1ubuntu1.2

Fix

  • Fixed version 3:4.2.11-1ubuntu1.2
    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