ADVISORIES

Ubuntu Security Notice

USN-7859-1

python-django vulnerabilities

Details

It was discovered that Django incorrectly handled certain characters in queries. An attacker could possibly use this issue to execute arbitrary SQL commands.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:20.04:LTSpython-django
All versions before 2:2.2.12-1ubuntu0.29+esm5 (fixed in 2:2.2.12-1ubuntu0.29+esm5)
Ubuntu:22.04:LTSpython-django
All versions before 2:3.2.12-2ubuntu1.23 (fixed in 2:3.2.12-2ubuntu1.23)
Ubuntu:24.04:LTSpython-django
All versions before 3:4.2.11-1ubuntu1.12 (fixed in 3:4.2.11-1ubuntu1.12)
Ubuntu:25.10python-django
All versions before 3:5.2.4-1ubuntu2.1 (fixed in 3:5.2.4-1ubuntu2.1)

References