Advisory

USN-7136-1

Also known as: CVE-2024-53907, CVE-2024-53908

Summary

python-django vulnerabilities

Details

jiangniao discovered that Django incorrectly handled the API to strip tags.
A remote attacker could possibly use this issue to cause Django to
consume resources, leading to a denial of service. (CVE-2024-53907)

Seokchan Yoon discovered that Django incorrectly handled HasKey lookups
when using Oracle. A remote attacker could possibly use this issue to
inject arbitrary SQL code. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2024-53908)

Severity

Not rated by the source.

Dates

Published
2024-12-04 18:04 UTC
Modified
2026-04-27 17:47 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

2:2.2.12-1ubuntu0.26

Fix

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

Fixed versions

2:3.2.12-2ubuntu1.15

Fix

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

Fixed versions

3:4.2.11-1ubuntu1.4

Fix

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