Advisory

GHSA-6g95-x6cj-mg4v

Also known as: CVE-2015-0222, PYSEC-2015-7

Summary

Django database denial-of-service with ModelMultipleChoiceField

Details

ModelMultipleChoiceField in Django 1.6.x before 1.6.10 and 1.7.x before 1.7.3, when show_hidden_initial is set to True, allows remote attackers to cause a denial of service by submitting duplicate values, which triggers a large number of SQL queries.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 03:20 UTC
Modified
2024-09-18 20:08 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.10 (ecosystem)

Fixed versions

1.6.10

Fix

  • Fixed version 1.6.10
    pip install --upgrade django==1.6.10

django

PyPI · All systems

Affected

  • introduced 1.7, fixed 1.7.3 (ecosystem)

Fixed versions

1.7.3

Fix

  • Fixed version 1.7.3
    pip install --upgrade django==1.7.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences