Advisory

PYSEC-2015-10

Also known as: CVE-2015-5144, GHSA-q5qw-4364-5hhm

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2015-07-14 17:59 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.21, introduced 1.5, fixed 1.7.9, introduced 1.8, fixed 1.8.3 (ecosystem)

Fixed versions

1.4.21, 1.7.9, 1.8.3

Fix

  • Fixed version 1.4.21
    pip install --upgrade django==1.4.21
  • Fixed version 1.7.9
    pip install --upgrade django==1.7.9
  • 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: PyPA Advisory Database · CC BY 4.0

Sources & licences