Advisory

PYSEC-2011-5

Also known as: CVE-2011-4140, GHSA-h95j-h2rv-qrg4

Summary

The record has no summary.

Details

The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.

Severity

Not rated by the source.

Dates

Published
2011-10-19 10:55 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.7, introduced 1.3, fixed 1.3.1 (ecosystem)

Fixed versions

1.2.7, 1.3.1

Fix

  • Fixed version 1.2.7
    pip install --upgrade django==1.2.7
  • Fixed version 1.3.1
    pip install --upgrade django==1.3.1

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