VDB
Sign up
—

PYSEC-2009-3

Quick fix

PYSEC-2009-3 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.1'

Details

The Admin media handler in core/servers/basehttp.py in Django 1.0 and 0.96 does not properly map URL requests to expected "static media files," which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a crafted URL.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 1.1
Fixpip install --upgrade 'django>=1.1'

References