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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 1.7.1-1.1 | — |
| Debian 13 | python-django | 1.7.1-1.1 | — |
| Debian 12 | python-django | 1.7.1-1.1 | — |
| Debian 7 | python-django | 1.4.5-1+deb7u9 | DSA-3151-1 |
| Debian 6.0 | python-django | 1.2.3-3+squeeze12 | DLA-143-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | python-django | 1.6.1-2ubuntu0.6 | USN-2469-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Enterprise Storage 1.0 | python-Django | 1.6.11-4.1 | SUSE-SU-2015:1112-1, SUSE-SU-2015:1109-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-bjoern | 1.4.2-1.23 | openSUSE-SU-2026:12000-1, openSUSE-SU-2024:14133-1, openSUSE-SU-2024:10206-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | < 1.4.18 | 1.4.18 | GHSA-7qfw-j7hp-v45g |
| PyPI | django | >= 1.6, < 1.6.10 | 1.6.10 | GHSA-7qfw-j7hp-v45g |
| PyPI | django | >= 1.7, < 1.7.3 | 1.7.3 | GHSA-7qfw-j7hp-v45g |
| PyPI | django | < 1.4.18 · >= 1.5, < 1.6.10 · >= 1.7, < 1.7.3 | 1.4.18, 1.6.10, 1.7.3 | PYSEC-2015-4 |
Advisories 8
- openSUSE-SU-2026:12000-1 python313-bjoern-3.2.2-2.6 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
- DSA-3151-1 python-django - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-143-1 python-django - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2469-1 python-django vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10206-1 python-bjoern-1.4.2-1.23 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1112-1 Security update for python-Django SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14133-1 python310-bjoern-3.2.2-1.10 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1109-1 Security update for python-Django SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 62718 third-party-advisory
- FEDORA-2015-0804 vendor-advisory
- MDVSA-2015:036 vendor-advisory
- FEDORA-2015-0790 vendor-advisory
- 62285 third-party-advisory
- openSUSE-SU-2015:1598 vendor-advisory
- https://www.djangoproject.com/weblog/2015/jan/13/security/
- USN-2469-1 vendor-advisory
- openSUSE-SU-2015:0643 vendor-advisory
- 62309 third-party-advisory
- MDVSA-2015:109 vendor-advisory
- http://advisories.mageia.org/MGASA-2015-0026.html
- FEDORA-2015-0714 vendor-advisory