USN-5178-1: Django vulnerability

Publication date

7 December 2021

Overview

Django could be made to expose sensitive information.


Packages

Details

Sjoerd Job Postmus and TengMA discovered that Django incorrectly handled
URLs with trailing newlines. A remote attacker could possibly use this
issue to bypass certain access controls.

Sjoerd Job Postmus and TengMA discovered that Django incorrectly handled
URLs with trailing newlines. A remote attacker could possibly use this
issue to bypass certain access controls.

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
21.10 impish python3-django –  2:2.2.24-1ubuntu1.1
21.04 hirsute python3-django –  2:2.2.20-1ubuntu0.3
20.04 focal python3-django –  2:2.2.12-1ubuntu0.8

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 ›