Read the docs
TI-2012-03861 Aliases CVE-2012-4520GHSA-2655-q453-22f9

The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x…

Priority LOW 35CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.

Why it matters now

EPSS 0.03736 89th percentileScored 2026-11-07
Fix Partial Django (PyPI): 1.3.4, 1.4.2Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)1.3 to before 1.3.41.3.4Patch availableGHSA-2655-q453-22f9
—Django (PyPI)1.4 to before 1.4.21.4.2Patch availableGHSA-2655-q453-22f9
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 1.3 to before 1.3.4 Fixed in 1.3.4 Patch available GHSA-2655-q453-22f9
  • Django (PyPI) Vendor— Affected 1.4 to before 1.4.2 Fixed in 1.4.2 Patch available GHSA-2655-q453-22f9

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*1.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*1.3 alpha1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*1.3 beta1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*1.3.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*1.3.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*1.3.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*1.4Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*1.4.1Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:* Versions 1.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:* Versions 1.3 alpha1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:* Versions 1.3 beta1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:* Versions 1.3.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:* Versions 1.3.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:* Versions 1.3.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-2655-q453-22f9 Django (PyPI) Fixed in 1.3.4 Advisory →
  • Fix · GHSA-2655-q453-22f9 Django (PyPI) Fixed in 1.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Subscription Asset ManagerAffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-4520
  2. 2026-10-03 Alias added: GHSA-2655-q453-22f9

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
See all 156 →

Sources