Vulnerability · Published Apr 14, 2021 · Assigned by mitre
CVE-2021-30459
Critical 9.8
In plain English
A critical-severity security flaw in the django-debug-toolbar package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.9%top 19.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django-debug-toolbar | 1.11.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | 2.2.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | 3.2.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | 1.11.1, 2.2.1, 3.2.1 | PYSEC-2021-10 |
Affected products (as reported)
References
- https://github.com/jazzband/django-debug-toolbar/releases x_refsource_MISC
- https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj x_refsource_CONFIRM
- https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/ x_refsource_CONFIRM