CVE-2021-30459
SQL Injection via in django-debug-toolbar
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | django-debug-toolbar | 1.11.1, 2.2.1, 3.2.1 |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30459
- https://github.com/jazzband/django-debug-toolbar
- https://github.com/jazzband/django-debug-toolbar/releases
- https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj
- https://github.com/pypa/advisory-database/tree/main/vulns/django-debug-toolbar/PYSEC-2021-10.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2021-30459
- https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases
- https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/