Bug 1958794 (CVE-2021-30459)

Summary: CVE-2021-30459 python-django-debug-toolbar: SQL Injection issue allows attackers to execute SQL statements
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: igor.raits, mrunge, slavek.kabrda
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-debug-toolbar 1.11.1, python-django-debug-toolbar 2.2.1, python-django-debug-toolbar 3.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 05:29:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1958795, 1958796    
Bug Blocks:    

Description Marian Rehak 2021-05-10 07:35:27 UTC
An 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.

References:

https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/

Comment 1 Marian Rehak 2021-05-10 07:35:52 UTC
Created python-django-debug-toolbar tracking bugs for this issue:

Affects: fedora-32 [bug 1958795]
Affects: fedora-33 [bug 1958796]