Description
The password reset functionality in django.contrib.auth in Django before 1.1.3, 1.2.x before 1.2.4, and 1.3.x before 1.3 beta 1 does not validate the length of a string representing a base36 timestamp, which allows remote attackers to cause a denial of service (resource consumption) via a URL that specifies a large base36 integer.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 1.2.4-1 | — |
| Debian 13 | python-django | 1.2.4-1 | — |
| Debian 12 | python-django | 1.2.4-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | < 1.1.3 | 1.1.3 | GHSA-7wph-fc4w-wqp2 |
| PyPI | django | >= 1.2, < 1.2.4 | 1.2.4 | GHSA-7wph-fc4w-wqp2 |
| PyPI | django | < 1.1.3 · >= 1.2, < 1.2.4 | 1.1.3, 1.2.4 | PYSEC-2011-9 |
References
- http://code.djangoproject.com/changeset/15032
- [oss-security] 20101223 CVE Request -- Django 1.2.4, Django 1.1.3 and Django 1.3 beta 1 -- addressing two security flaws mailing-list
- USN-1040-1 vendor-advisory
- 45563 vdb-entry
- [oss-security] 20110103 Re: CVE Request -- Django 1.2.4, Django 1.1.3 and Django 1.3 beta 1 -- addressing two security flaws mailing-list
- 42913 third-party-advisory
- ADV-2011-0048 vdb-entry
- ADV-2011-0098 vdb-entry
- http://www.djangoproject.com/weblog/2010/dec/22/security/
- FEDORA-2011-0096 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=665373
- 42715 third-party-advisory
- FEDORA-2011-0120 vendor-advisory
- 42827 third-party-advisory