ADVISORIES

GitHub Advisory Database

GHSA-rvq6-mrpv-m6rm

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."

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.4.11 (fixed in 1.4.11)
PyPIdjango
From 1.5 before 1.5.6 (fixed in 1.5.6)
PyPIdjango
From 1.6 before 1.6.3 (fixed in 1.6.3)

References