Vulnerability advisory
GHSA-296w-6qhq-gf92
Django denial of service via file upload naming
Also known as CVE-2014-0481PYSEC-2014-5
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 1.4.14 | 1.4.14Advisories → |
1.5 to before 1.5.9 | 1.5.9Advisories → |
1.6 to before 1.6.6 | 1.6.6Advisories → |
Description
The default configuration for the file upload handling system 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 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-0481 ↗
- Webgithub.com/django/django/commit/26cd48e166ac4d84317c8ee6d63ac52a87e8da99 ↗
- Webgithub.com/django/django/commit/30042d475bf084c6723c6217a21598d9247a9c41 ↗
- Webgithub.com/django/django/commit/dd0c3f4ee1a30c1a1e6055061c6ba6e58c6b54d1 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-5.yaml ↗
- Webwww.djangoproject.com/weblog/2014/aug/20/security ↗
- Weblists.opensuse.org/opensuse-updates/2014-09/msg00023.html ↗
- Webwww.debian.org/security/2014/dsa-3010 ↗