Repository navigation
fix(deps): upgrade sqlparse to 0.6.0 for security fixes - #241
Merged
Merged
Conversation
matrixise
force-pushed
the
security/upgrade-sqlparse
branch
from
September 24, 2026 06:36
949f3ee to
956bd32
Compare
Resolves multiple high/medium severity Dependabot alerts: quadratic CPU consumption during tuple list reindentation and comment grouping, ReDoS on dollar-quoted SQL literals, unbounded value materialization in TokenList.__init__ before depth/token caps trigger, and SQL string breakout via unescaped backslashes in generated Python/PHP snippets. GHSA-cfqr-cjx5-5jcm, GHSA-prg7-hcfm-mfcr, GHSA-pwgv-4x5q-6m9f, GHSA-f2ff-p2ww-7p4p, GHSA-3496-9g83-7v6x Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
matrixise
force-pushed
the
security/upgrade-sqlparse
branch
from
September 24, 2026 06:36
956bd32 to
2a79c79
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sqlparsefrom 0.5.5 to 0.6.0TokenList.__init__before depth/token caps trigger, and SQL string breakout via unescaped backslashes in generated Python/PHP snippetsTest plan
python manage.py test pythonie --settings=pythonie.settings.tests(SQLite, 7/7 passed)ruff check pythonieclean