GitHub Advisoryadvisory · PyPI
GHSA-f7cm-ccfp-3q4r Django Incorrectly Validates URLs
HIGH
Official page ↗
- Aliases
- CVE-2014-0480
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-20
- Reviewed
- 2023-08-16
Affected packages
• PyPI Django: < 1.4.14 → fixed in 1.4.14
• PyPI Django: >= 1.5, < 1.5.9 → fixed in 1.5.9
• PyPI Django: >= 1.6, < 1.6.6 → fixed in 1.6.6
Description
The `core.urlresolvers.reverse` function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a `//` (slash slash) in a URL, which triggers a scheme-relative URL to be generated.
Related
Alias · CVE (1)
- CVE-2014-0480 The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0480 advisory
- https://github.com/django/django/commit/45ac9d4fb087d21902469fc22643f5201d41a0cd web
- https://github.com/django/django/commit/c2fe73133b62a1d9e8f7a6b43966570b14618d7e web
- https://github.com/django/django/commit/da051da8df5e69944745072611351d4cfc6435d5 web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-4.yaml web
- https://web.archive.org/web/20140918034351/http://www.securityfocus.com/bid/69425 web
- https://www.djangoproject.com/weblog/2014/aug/20/security web
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html web
- http://www.debian.org/security/2014/dsa-3010 web