Advisory

PYSEC-2014-1

Also known as: CVE-2014-0472, GHSA-rvq6-mrpv-m6rm

Summary

The record has no summary.

Details

The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."

Severity

Not rated by the source.

Dates

Published
2014-04-23 15:55 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.11, introduced 1.5, fixed 1.5.6, introduced 1.6, fixed 1.6.3 (ecosystem)

Fixed versions

1.4.11, 1.5.6, 1.6.3

Fix

  • Fixed version 1.4.11
    pip install --upgrade django==1.4.11
  • Fixed version 1.5.6
    pip install --upgrade django==1.5.6
  • Fixed version 1.6.3
    pip install --upgrade django==1.6.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