Advisory

USN-5373-1

Also known as: CVE-2021-32052, CVE-2022-28346, CVE-2022-28347

Summary

python-django vulnerabilities

Details

It was discovered that Django incorrectly handled certain certain column
aliases in the QuerySet.annotate(), aggregate(), and extra() methods. A
remote attacker could possibly use this issue to perform an SQL injection
attack. (CVE-2022-28346)

It was discovered that Django incorrectly handled certain option names in
the QuerySet.explain() method. A remote attacker could possibly use this
issue to perform an SQL injection attack. This issue only affected Ubuntu
20.04 LTS, and Ubuntu 21.10. (CVE-2022-28347)

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 18.04
LTS. (CVE-2021-32052)

Severity

Not rated by the source.

Dates

Published
2022-04-11 11:36 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.17 (ecosystem)

Fixed versions

1:1.11.11-1ubuntu1.17

Fix

  • Fixed version 1:1.11.11-1ubuntu1.17
    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.11 (ecosystem)

Fixed versions

2:2.2.12-1ubuntu0.11

Fix

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