Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Django security updates released. A potential denial of service vulnerability has been discovered in the regular expressions used by Django form library’s EmailField and URLField—a malicious input could trigger a pathological performance. Patches (and patched releases) for Django 1.1 and Django 1.0 have been published.

Tagged , , ,

4 comments

  1. I'd like to understand better what causes the backtracking. I knew REs were vulnerable to that kind of thing, but not sure how I'd spot one where it's possible.

    Jeremy Dunck - 10th October 2009 01:00 - #

  2. Alex, excellent link, thanks.

    Jeremy Dunck - 10th October 2009 05:52 - #

  3. Does anyone know why the updated regexp allows a trailing period (.) character in email addresses? The previous version didn't.

    Martin - 10th October 2009 19:19 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site