Security: upgrade Python deps and align DB migrations (Dependabot fixes)#677
Closed
Security: upgrade Python deps and align DB migrations (Dependabot fixes)#677
Conversation
Bump Python dependencies to latest stable compatible versions to address Mend/WhiteSource security issues and keep the stack coherent with Flask 3.x: - Werkzeug 3.1.5 (fixes #673, #671, #663, #662, #640, #630) - Flask 3.1.2 (fixes #606) - Jinja2 3.1.6 (fixes #675, #674, #672) - urllib3 2.6.3 (fixes #669, #665, #664) - requests 2.32.5 (fixes #667) - setuptools 80.9.0 (fixes #670, #668) - sqlparse 0.5.5 (fixes #654) - idna 3.11 (fixes #655) - zipp 3.23.0 (fixes #663) - certifi 2026.1.4 (fixes #656) - alembic 1.15.2 to satisfy Flask-Migrate 4.1.0 - Flask-SQLAlchemy 3.1.1, Flask-Migrate 4.1.0 - remove python-ecdsa (fixes #626) Switch db initialization from sqlalchemy-migrate to Alembic/Flask-Migrate: - db_create.py creates tables and stamps head in app context - env.py avoids duplicate compare_type argument with new Flask-Migrate - update-passhport.sh no longer installs sqlalchemy-migrate Fix user deletion for names containing '@' by decoding route param before DB lookup. Note: Bootbox XSS issue (#615) is not addressed in this commit.
970bdc8 to
4f62d1a
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.
Updates Python dependencies to latest stable compatible versions to address multiple Dependabot alerts and keep the stack coherent with Flask 3.x:
Switches db initialization from sqlalchemy-migrate to Alembic/Flask-Migrate:
Fixes user deletion for names containing '@' by decoding the route param before DB lookup.
Note: Bootbox XSS alert #22 is not addressed in this commit.
Refs: #31 #38 #39 #49 #53 #21 #657 #9 #44 #41 #42 #50 #51 #52 #46 #45
#54 #55 #30 #642 #29 #644 #36 #652 #43 #48