Live threats

All CVEs / Djangoproject

CVE-2013-0306Djangoproject Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
May 2, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

The form library in Django 1.3.x before 1.3.6, 1.4.x before 1.4.4, and 1.5 before release candidate 2 allows remote attackers to bypass intended resource limits for formsets and cause a denial of service (memory consumption) or trigger server errors via a modified max_num parameter.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.3 < 1.3.6 1.3.6 pip install "django>=1.3.6"
PyPI django ≥ 1.4 < 1.4.4 1.4.4 pip install "django>=1.4.4"
PyPI django ≥ 1.3 < 1.3.6 1.3.6 pip install "django>=1.3.6"
PyPI django ≥ 1.4 < 1.4.4 1.4.4 pip install "django>=1.4.4"

Per OSV / GitHub Advisories (GHSA-g8xg-jgj6-49r3, PYSEC-2013-17). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.3
djangoprojectdjango1.3
djangoprojectdjango1.3
djangoprojectdjango1.3.1
djangoprojectdjango1.3.2
djangoprojectdjango1.3.3
djangoprojectdjango1.4
djangoprojectdjango1.4
djangoprojectdjango1.4
djangoprojectdjango1.4.1
djangoprojectdjango1.4.2
djangoprojectdjango1.5
djangoprojectdjango1.5
canonicalubuntu_linux10.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
canonicalubuntu_linux12.10

Official sources

References

Links published by the sources. Open them with care.