CVE catalog

CVE-2020-9402

python-django: CVE-2020-9402

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
22.51% · Oct 25, 2026

Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it was possible to break escaping and inject malicious SQL.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2fixed
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1fixed
Debianpython-djangobookworm3:3.2.25-0+deb12u3fixed
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6fixed
Alpinepy-django3.101.11.29-r0fixed
Alpinepy-django3.81.11.29-r0fixed
Alpinepy-django3.91.11.29-r0fixed
Alpinepy3-django3.111.11.29-r0fixed
Alpinepy3-django3.121.11.29-r0fixed
Ubuntupython-django16.041.7.9-1ubuntu5vulnerable
Ubuntupython-django16.041.8.5-2ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu3vulnerable
Ubuntupython-django16.041.8.7-1ubuntu4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.6vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.7vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.8vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.9vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.10vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.11vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.12fixed
Ubuntupython-django18.041:1.11.4-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.6-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.9-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.2vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.3vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.4vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.5vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.6vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.7vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.8fixed
Ubuntupython-django16.041.7.9-1ubuntu5vulnerable
Ubuntupython-django16.041.8.5-2ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu3vulnerable
Ubuntupython-django16.041.8.7-1ubuntu4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.6vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.7vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.8vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.9vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.10vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.11vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.12fixed
Ubuntupython-django18.041:1.11.4-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.6-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.9-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.1vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.2vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.3vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.4vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.5vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.6vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.7vulnerable
Ubuntupython-django18.041:1.11.11-1ubuntu1.8fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid2:2.2.11-1lowNot reported[953102]
Debianpython-djangosourceforky2:2.2.11-1lowNot reported[953102]
Debianpython-djangosourcetrixie2:2.2.11-1lowNot reported[953102]
Debianpython-djangosourcebookworm2:2.2.11-1lowNot reported[953102]
Alpinepy-djangoapk3.101.11.29-r0Not reportedALPINE-CVE-2020-9402Not reported
Alpinepy-djangoapk3.81.11.29-r0Not reportedALPINE-CVE-2020-9402Not reported
Alpinepy-djangoapk3.91.11.29-r0Not reportedALPINE-CVE-2020-9402Not reported
Alpinepy3-djangoapk3.111.11.29-r0Not reportedALPINE-CVE-2020-9402Not reported
Alpinepy3-djangoapk3.121.11.29-r0Not reportedALPINE-CVE-2020-9402Not reported
Ubuntupython-djangodeb16.041.8.7-1ubuntu5.12Not reportedUSN-4296-1Not reported
Ubuntupython-djangodeb18.041:1.11.11-1ubuntu1.8Not reportedUSN-4296-1Not reported
Ubuntupython-djangodeb16.041.8.7-1ubuntu5.12Not reportedUBUNTU-CVE-2020-9402Not reported
Ubuntupython-djangodeb18.041:1.11.11-1ubuntu1.8Not reportedUBUNTU-CVE-2020-9402Not reported

[Debian bug #953102]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.11-1

      dsa · python-django · debian · 13

Observed:

References