GitHub Advisoryadvisory · PyPI
GHSA-rvq6-mrpv-m6rm Code Injection in Django
CRITICAL
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
- https://nvd.nist.gov/vuln/detail/CVE-2014-0472 advisory
- https://github.com/django/django/commit/2a5bcb69f42b84464b24b5c835dca6467b6aa7f1 web
- https://github.com/django/django/commit/4352a50871e239ebcdf64eee6f0b88e714015c1b web
- https://github.com/django/django/commit/c1a8c420fe4b27fb2caf5e46d23b5712fc0ac535 web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-1.yaml web
- https://www.djangoproject.com/weblog/2014/apr/21/security web
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html web
- http://rhn.redhat.com/errata/RHSA-2014-0456.html web
- http://rhn.redhat.com/errata/RHSA-2014-0457.html web
- http://www.debian.org/security/2014/dsa-2934 web
- http://www.ubuntu.com/usn/USN-2169-1 web