CVE-2015-0219 Django WSGI Header Spoofing Vulnerability

Medium 5.0 Published Updated

Remote attackers can spoof WSGI headers by using underscores instead of dashes, potentially bypassing authentication or security controls in Django applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-0219?

CVE-2015-0219 is a medium-severity vulnerability in Djangoproject Django, published on 16 Jan 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 allows remote attackers to spoof WSGI headers by using an _ (underscore) character instead of a - (dash) character in an HTTP header, as demonstrated by an X-Auth_User header.

Weakness: CWE-17

Which versions are affected by CVE-2015-0219?

7 open source packages ship an affected version, including django and Django. It affects 1 product.

PackageAffectedFixed in
django PyPIAll versions1.4.18, 1.6.10, 1.7.3
django PyPIAll versions1.4.18
django PyPIFrom 1.61.6.10
django PyPIFrom 1.71.7.3
Django PyPIAll versions1.4.18
Django PyPIFrom 1.61.6.10
1 more packages
Django PyPIFrom 1.71.7.3
Linux distribution packages (3)
python-bjoern openSUSE:TumbleweedAll versions1.4.2-1.23
python-bjoern openSUSE:TumbleweedAll versions3.2.2-1.10
python-bjoern openSUSE:TumbleweedAll versions3.2.2-2.6

Products include Djangoproject Django.

How do I fix CVE-2015-0219?

Upgrade django to a fixed version for your release line: 1.4.18, 1.6.10 or 1.7.3.

Is CVE-2015-0219 being exploited?

There is no known exploitation of CVE-2015-0219 in the wild and no public exploit code.

All Djangoproject Django vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-0219, GHSA-7qfw-j7hp-v45g, PYSEC-2015-4, UBUNTU-CVE-2015-0219, openSUSE-SU-2024:10206-1, openSUSE-SU-2024:11218-1 and 2 more.

Is CVE-2015-0219 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free