GitHub Advisoryadvisory · PyPI

GHSA-rvq6-mrpv-m6rm Code Injection in Django

CRITICAL Published 2022-05-17 Modified 2025-04-13 Official page ↗
Aliases
CVE-2014-0472
Ecosystem
PyPI
Packages
Django
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2023-02-23

Affected packages

• PyPI Django: < 1.4.11 → fixed in 1.4.11 • PyPI Django: >= 1.5, < 1.5.6 → fixed in 1.5.6 • PyPI Django: >= 1.6, < 1.6.3 → fixed in 1.6.3

Description

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

Related

Alias · CVE (1)

  • CVE-2014-0472 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… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References