PyPi: Django-Debug-Toolbar

CVE-2021-30459

Safety vulnerability ID: 40207

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Apr 14, 2021 Updated at Jan 14, 2025
Scan your Python projects for vulnerabilities →

Advisory

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. See CVE-2021-30459.

Affected package

django-debug-toolbar

Latest version: 5.0.1

A configurable set of panels that display various debug information about the current request/response.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-30459.


CONFIRM:https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj: https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj
CONFIRM:https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/: https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/
MISC:https://github.com/jazzband/django-debug-toolbar/releases: https://github.com/jazzband/django-debug-toolbar/releases

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL