Advisory

USN-4975-1

Also known as: CVE-2021-32052, CVE-2021-33203, CVE-2021-33571

Summary

python-django vulnerabilities

Details

It was discovered that the Django URLValidator function incorrectly handled
newlines and tabs. A remote attacker could possibly use this issue to
perform a header injection attack. This issue only affected Ubuntu 20.04
LTS, Ubuntu 20.10, and Ubuntu 21.04. (CVE-2021-32052)

Rasmus Lerchedahl Petersen and Rasmus Wriedt Larsen discovered that Django
incorrectly handled path sanitation in admindocs. A remote attacker could
possibly use this issue to determine the existence of arbitrary files and
in certain configurations obtain their contents. (CVE-2021-33203)

It was discovered that Django incorrectly handled IPv4 addresses with
leading zeros. A remote attacker could possibly use this issue to perform a
wide variety of attacks, including bypassing certain access restrictions.
(CVE-2021-33571)

Severity

Not rated by the source.

Dates

Published
2021-06-02 10:49 UTC
Modified
2026-02-10 04:42 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:1.11.11-1ubuntu1.14 (ecosystem)

Fixed versions

1:1.11.11-1ubuntu1.14

Fix

  • Fixed version 1:1.11.11-1ubuntu1.14
    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 20.04

Affected

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

Fixed versions

2:2.2.12-1ubuntu0.7

Fix

  • Fixed version 2:2.2.12-1ubuntu0.7
    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