---
title: 'USN-6414-2: Django vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-6414-2
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-6414-2

---

# USN-6414-2: Django vulnerabilities

Publication date

4 October 2023

Overview

Several security issues were fixed in Django.

Releases

[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)

---

Open side navigation

## Packages

* [python-django](https://ubuntu.com/security/cves?package=python-django) - High-level Python web development framework

## Details

USN-6414-1 and USN-6378-1 fixed [CVE-2023-43665](https://ubuntu.com/security/CVE-2023-43665) and [CVE-2023-41164](https://ubuntu.com/security/CVE-2023-41164) in Django,
respectively. This update provides the corresponding update for Ubuntu 18.04 LTS.

Original advisory details:

Wenchao Li discovered that the Django Truncator function incorrectly
handled very long HTML input. A remote attacker could possibly use this
issue to cause Django to consume resources, leading to a denial of service.

It was discovered that Django incorrectly handled certain URIs with a very
large number of Unicode characters. A remote attacker could possibly use
this issue to cause Django to consume resources or crash, 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.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 18.04 LTS bionic | [python3-django](https://launchpad.net/ubuntu/+source/python-django) –  1:1.11.11-1ubuntu1.21+esm2   Ubuntu Pro | | |

---

### 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.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2023-43665](https://ubuntu.com/security/CVE-2023-43665)
* [CVE-2023-41164](https://ubuntu.com/security/CVE-2023-41164)

## Related notices

* [USN-6414-1](https://ubuntu.com/security/notices/USN-6414-1)
* [USN-6378-1](https://ubuntu.com/security/notices/USN-6378-1)
