USN-5837-1: Django vulnerability

Publication date

1 February 2023

Overview

Django could be made to consume memory if it received specially crafted network traffic.


Packages

Details

Nick Pope discovered that Django incorrectly handled certain
Accept-Language headers. A remote attacker could possibly use this issue to
cause Django to consume memory, leading to a denial of service.

Nick Pope discovered that Django incorrectly handled certain
Accept-Language headers. A remote attacker could possibly use this issue to
cause Django to consume memory, leading to a denial of service.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.10 kinetic python3-django –  3:3.2.15-1ubuntu1.1
22.04 jammy python3-django –  2:3.2.12-2ubuntu1.4
20.04 focal python3-django –  2:2.2.12-1ubuntu0.15
18.04 bionic python3-django –  1:1.11.11-1ubuntu1.19
python-django –  1:1.11.11-1ubuntu1.19

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›