CVE catalog

CVE-2016-2512

python-django: CVE-2016-2512

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
4.05% · Oct 25, 2026

The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.

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
Ubuntupython-django14.041.5.4-1ubuntu1vulnerable
Ubuntupython-django14.041.6-1vulnerable
Ubuntupython-django14.041.6.1-1vulnerable
Ubuntupython-django14.041.6.1-2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.1vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.3vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.4vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.5vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.6vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.8vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.9vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.10vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.11vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.12fixed
Susepython-Djangoopenstack cloud 61.8.19-3.6.1fixed
Ubuntupython-django14.041.5.4-1ubuntu1vulnerable
Ubuntupython-django14.041.6-1vulnerable
Ubuntupython-django14.041.6.1-1vulnerable
Ubuntupython-django14.041.6.1-2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.1vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.3vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.4vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.5vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.6vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.8vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.9vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.10vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.11vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.12fixed
Susepython-Djangoenterprise storage 51.6.11-6.5.1fixed
Opensusepython-Djangotumbleweed1.10.4-1.1fixed
Susepython-Djangoenterprise storage 41.6.11-5.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid1.9.4-1not yet assignedNot reported[816434]
Debianpython-djangosourceforky1.9.4-1not yet assignedNot reported[816434]
Debianpython-djangosourcetrixie1.9.4-1not yet assignedNot reported[816434]
Debianpython-djangosourcebookworm1.9.4-1not yet assignedNot reported[816434]
Ubuntupython-djangodeb14.041.6.1-2ubuntu0.12Not reportedUSN-2915-1Not reported
Susepython-Djangorpmopenstack cloud 61.8.19-3.6.1Not reportedSUSE-SU-2018:1102-1Not reported
Ubuntupython-djangodeb14.041.6.1-2ubuntu0.12Not reportedUBUNTU-CVE-2016-2512Not reported
Susepython-Djangorpmenterprise storage 51.6.11-6.5.1Not reportedSUSE-SU-2018:1830-1Not reported
Opensusepython-Djangorpmtumbleweed1.10.4-1.1Not reportedOPENSUSE-SU-2024:10361-1Not reported
Susepython-Djangorpmenterprise storage 41.6.11-5.5.1Not reportedSUSE-SU-2018:1828-1Not reported

[Debian bug #816434]

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: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-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: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-1

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

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

      Fixed · Fixed: 1.9.4-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: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

  • Source package: [python-django]

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

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

      Fixed · Fixed: 1.9.4-1

      dsa · python-django · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-Django]

    Details (1)
    • 6.0.8-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.10.4-1.1

      Version impact unknown

      dsa · python-Django · opensuse · tumbleweed

  • Source package: [python-Django]

    Details (1)
    • 6.0.8-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.10.4-1.1

      Version impact unknown

      dsa · python-Django · opensuse · tumbleweed

Observed:

References