Advisory

GHSA-crhm-qpjc-cm64

Also known as: CVE-2016-7401, PYSEC-2016-3

Summary

Django CSRF Protection Bypass

Details

The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 03:55 UTC
Modified
2024-11-28 05:41 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.15 (ecosystem)

Fixed versions

1.8.15

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.9, fixed 1.9.10 (ecosystem)

Fixed versions

1.9.10

Fix

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

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