Host Header Poisoning Affecting django package, versions [,1.3.4)[1.4,1.4.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Host Header Poisoning vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-40104
  • published17 Oct 2012
  • disclosed17 Oct 2012
  • creditJames Kettle

Introduced: 17 Oct 2012

CVE-2012-4520  (opens in a new tab)
CWE-20  (opens in a new tab)

Overview

django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Host Header Poisoning. The django.http.HttpRequest.get_host function incorrectly handled username/password information in the header. This allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.

CVSS Scores

version 3.1