Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

[Security] Bump django-debug-toolbar from 1.9.1 to 1.11.1 - #64

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-debug-toolbar-1.11.1
Open

[Security] Bump django-debug-toolbar from 1.9.1 to 1.11.1#64
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-debug-toolbar-1.11.1

Conversation

@dependabot-preview

Copy link
Copy Markdown

Bumps django-debug-toolbar from 1.9.1 to 1.11.1. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

SQL Injection via in django-debug-toolbar

Impact

With Django Debug Toolbar attackers are able to execute SQL by changing the raw_sql input of the SQL explain, analyze or select forms and submitting the form.

NOTE: This is a high severity issue for anyone using the toolbar in a production environment.

Generally the Django Debug Toolbar team only maintains the latest version of django-debug-toolbar, but an exception was made because of the high severity of this issue.

Patches

Please upgrade to one of the following versions, depending on the major version you're using:

For more information

If you have any questions or comments about this advisory:

Affected versions: >= 0.10.0, < 1.11.1

Changelog

Sourced from django-debug-toolbar's changelog.

1.11.1 (2021-04-14)

  • Fixed SQL Injection vulnerability, CVE-2021-30459. The toolbar now calculates a signature on all fields for the SQL select, explain, and analyze forms.

1.11 (2018-12-03)

  • Use defer on all <script> tags to avoid blocking HTML parsing, removed inline JavaScript.
  • Stop inlining images in CSS to avoid Content Security Policy errors altogether.
  • Reformatted the code using black.
  • Added the Django mail panel to the list of third-party panels.
  • Convert system check errors to warnings to accomodate exotic configurations.
  • Fixed a crash when explaining raw querysets.
  • Fixed an obscure unicode error with binary data fields.
  • Added MariaDB and Python 3.7 builds to the CI.

1.10.1 (2018-09-11)

  • Fixed a problem where the duplicate query detection breaks for non-hashable query parameters.
  • Added support for structured types when recording SQL.
  • Made Travis CI also run one test no PostgreSQL.
  • Added fallbacks for inline images in CSS.
  • Improved cross-browser compatibility around URLSearchParams usage.
  • Fixed a few typos and redundancies in the documentation, removed mentions of django-debug-toolbar's jQuery which aren't accurate anymore.

1.10 (2018-09-06)

  • Removed support for Django < 1.11.
  • Added support and testing for Django 2.1 and Python 3.7. No actual code changes were required.
  • Removed the jQuery dependency. This means that django-debug-toolbar now requires modern browsers with support for fetch, classList etc.
  • Added support for the server timing header.
  • Added a differentiation between similar and duplicate queries. Similar queries are what duplicate queries used to be (same SQL, different parameters).
  • Stopped hiding frames from Django's contrib apps in stacktraces by default.
  • Lots of small cleanups and bugfixes.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 1.9.1 to 1.11.1. **This update includes a security fix.**
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/1.11.1/docs/changes.rst)
- [Commits](django-commons/django-debug-toolbar@1.9.1...1.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants