Bug 1240526 (CVE-2015-5145) - CVE-2015-5145 Django: DoS via incorrect URL validation
Summary: CVE-2015-5145 Django: DoS via incorrect URL validation
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2015-5145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1242350
Blocks: 1239014
TreeView+ depends on / blocked
 
Reported: 2015-07-07 07:49 UTC by Martin Prpič
Modified: 2023-05-12 10:03 UTC (History)
17 users (show)

Fixed In Version: Django 1.8.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-25 07:30:09 UTC
Embargoed:


Attachments (Terms of Use)
urlvalidator-1.8.x.diff (2.64 KB, text/plain)
2015-07-07 07:55 UTC, Martin Prpič
no flags Details
urlvalidator-master.diff (2.63 KB, text/plain)
2015-07-07 07:55 UTC, Martin Prpič
no flags Details
urlvalidator-1.8.x.diff (3.15 KB, text/plain)
2015-07-08 13:35 UTC, Martin Prpič
no flags Details
urlvalidator-master.diff (3.14 KB, text/plain)
2015-07-08 13:36 UTC, Martin Prpič
no flags Details

Description Martin Prpič 2015-07-07 07:49:16 UTC
The following flaw was found in Django:

'django.core.validators.URLValidator' included a regular expression that was extremely slow to evaluate against certain invalid inputs. This regular expression has been simplified and optimized.

This flaw has been fixed in Django version 1.8.3.

Acknowledgements:

Red Hat would like to thank the upstream Django project for reporting this issue.

Comment 1 Martin Prpič 2015-07-07 07:55:48 UTC
Created attachment 1049118 [details]
urlvalidator-1.8.x.diff

Comment 2 Martin Prpič 2015-07-07 07:55:50 UTC
Created attachment 1049119 [details]
urlvalidator-master.diff

Comment 3 Martin Prpič 2015-07-08 13:35:39 UTC
Created attachment 1049882 [details]
urlvalidator-1.8.x.diff

Comment 4 Martin Prpič 2015-07-08 13:36:02 UTC
Created attachment 1049883 [details]
urlvalidator-master.diff

Comment 5 Kurt Seifried 2015-07-09 04:38:19 UTC
This is now public: https://www.djangoproject.com/weblog/2015/jul/08/security-releases/

Comment 7 Fedora Update System 2015-07-23 08:54:27 UTC
python-django-1.8.3-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.