Advisory

GHSA-rvq6-mrpv-m6rm

Also known as: CVE-2014-0472, PYSEC-2014-1

Summary

Code Injection in Django

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-17 03:07 UTC
Modified
2025-04-13 23:39 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.11 (ecosystem)

Fixed versions

1.4.11

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.5.6 (ecosystem)

Fixed versions

1.5.6

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.3 (ecosystem)

Fixed versions

1.6.3

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences