Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-30459 EUVD-2021-0052GHSA-pghf-347x-c2gjPYSEC-2021-10

SQL Injection via in django-debug-toolbar

Published Apr 14, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

A SQL Injection issue in the SQL Panel in Jazzband Django Debug Toolbar before 1.11.1, 2.x before 2.2.1, and 3.x before 3.2.1 allows attackers to execute SQL statements by changing the raw_sql input field of the SQL explain, analyze, or select form.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-django-debug-toolbar 4.3-1.2 openSUSE-SU-2026:11271-1, openSUSE-SU-2024:14137-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django-debug-toolbar >= 0.10.0, < 1.11.1 1.11.1 GHSA-pghf-347x-c2gj
PyPI django-debug-toolbar >= 2.0a1, < 2.2.1 2.2.1 GHSA-pghf-347x-c2gj
PyPI django-debug-toolbar >= 3.0a1, < 3.2.1 3.2.1 GHSA-pghf-347x-c2gj
PyPI django-debug-toolbar >= 0.10.0, < 1.11.1 · >= 2.0, < 2.2.1 · >= 3.0, < 3.2.1 1.11.1, 2.2.1, 3.2.1 PYSEC-2021-10

Advisories 2

References