CVE-2015-0221 json
Django DoS in django.views.static.serve
published 11y ago modified 4mo ago also GHSA-jhjg-w2cp-5j44 , PYSEC-2015-6 , EUVD-2015-0015
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The django.views.static.serve view in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 reads files an entire line at a time, which allows remote attackers to cause a denial of service (memory consumption) via a long line in a file.
Patch / fix
- pypi django 1.4.18, 1.6.10, 1.7.3
- python-django Debian 14, Debian 13, Debian 12 1.7.1-1.1
debian advisories DEBIAN-CVE-2015-0221
- python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.6
ubuntu advisories UBUNTU-CVE-2015-0221
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django Enterprise Storage 1.0 1.6.11-4.1
suse advisories SUSE-SU-2015:1109-1SUSE-SU-2015:1112-1
- github.com/django/django@553779c commit
- github.com/django/django@818e59a commit
- github.com/django/django@d020da6 commit
- ubuntu.com/usn/usn-2469-1 advisory
- djangoproject.com/weblog/2015/jan/13/security/ advisory
Is CVE-2015-0221 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-0221 updated cvss 4.3
Django: denial of service attack against django.views.static.serve
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Djangonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.45% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- djangoproject.com https://www.djangoproject.com/weblog/2015/jan/13/security/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | <1.4.18 >=1.6, <1.6.10 >=1.7, <1.7.3 >=1.5, <1.6.10 |
1.4.18 1.6.10 1.7.3 |
Classification
- Weakness
- Technology feeds
References
-
ubuntu.com
/usn/usn-2469-1
vendor-advisory, web, patch
-
djangoproject.com
/weblog/2015/jan/13/security/
exploit, patch, vendor-advisory, article
-
github.com
/django/django/commit/553779c4055e8742cc832ed525b9ee34b174934f
web
-
github.com
/django/django/commit/818e59a3f0fbadf6c447754d202d88df025f8f2a
web
-
github.com
/django/django/commit/d020da6646c5142bc092247d218a3d1ce3e993f7
web
-
lists.fedoraproject.org
/pipermail/package-announce/2015-January/148608.html
vendor-advisory, web
-
mandriva.com
/security/advisories?name=MDVSA-2015:036
vendor-advisory, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-January/148696.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2015-09/msg00035.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2015-04/msg00001.html
vendor-advisory, web
-
mandriva.com
/security/advisories?name=MDVSA-2015:109
vendor-advisory, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-January/148485.html
vendor-advisory, web
-
secunia.com
/advisories/62718
third-party-advisory, advisory
-
secunia.com
/advisories/62285
third-party-advisory, advisory
-
secunia.com
/advisories/62309
third-party-advisory, advisory
-
advisories.mageia.org
/MGASA-2015-0026.html
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-0221
advisory
-
github.com
/django/django
web
-
github.com
/django/django/blob/9b9c805cedb08621bd5dc58a01a6478eb7cc49a9/docs/releases/1.4.18.txt#L48C1-L49C1
web
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-6.yaml
web
-
web.archive.org
/web/20150128111656/http://secunia.com/advisories/62285
web
-
web.archive.org
/web/20150128111656/http://secunia.com/advisories/62309
web
-
web.archive.org
/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA
web
-
web.archive.org
/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA
web
-
web.archive.org
/web/20151104201446/http://secunia.com/advisories/62718
web
-
djangoproject.com
/weblog/2015/jan/13/security
web
-
github.com
/advisories/GHSA-jhjg-w2cp-5j44
advisory
Sources
- CVE List CVE-2015-0221
- GitHub Advisory GHSA-jhjg-w2cp-5j44
- NVD CVE-2015-0221
- OSV PYSEC-2015-6
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.