Advisory

GHSA-q5qw-4364-5hhm

Also known as: CVE-2015-5144, PYSEC-2015-10

Summary

Django Vulnerable to HTTP Response Splitting Attack

Details

Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 00:48 UTC
Modified
2025-02-19 05:41 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.21 (ecosystem)

Fixed versions

1.4.21

Fix

  • Fixed version 1.4.21
    pip install --upgrade django==1.4.21

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.7.9 (ecosystem)

Fixed versions

1.7.9

Fix

  • Fixed version 1.7.9
    pip install --upgrade django==1.7.9

django

PyPI · All systems

Affected

  • introduced 1.8a1, fixed 1.8.3 (ecosystem)

Fixed versions

1.8.3

Fix

  • Fixed version 1.8.3
    pip install --upgrade django==1.8.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences