Fix security vulnerabilities in Python and Node.js dependencies for non-deprecated components - #1189
Merged
Merged
Conversation
…s all non-deprecated components Agent-Logs-Url: https://github.com/Shared-Reality-Lab/IMAGE-server/sessions/5eef10f8-42b4-4307-a1b7-4c4770ea980c Co-authored-by: jeffbl <2095406+jeffbl@users.noreply.github.com>
jeffbl
self-requested a review
April 14, 2026 15:26
4 tasks
Agent-Logs-Url: https://github.com/Shared-Reality-Lab/IMAGE-server/sessions/ca3bb017-318f-4672-ac6b-2856b71c8e38 Co-authored-by: jeffbl <2095406+jeffbl@users.noreply.github.com>
…-to-3-1-2 [WIP] Update Flask dependency to 3.1.2 to fix Docker build failures
Member
|
@copilot resolve the merge conflicts in this pull request |
Resolve conflicts by accepting Flask==3.1.3 from main (security fix version) and incorporating Dockerfile updates for object-detection-azure and sorting to use Python 3.13.9-alpine3.22. Co-authored-by: jeffbl <2095406+jeffbl@users.noreply.github.com>
Contributor
Author
Merge conflicts resolved in commit |
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
This PR addresses security vulnerabilities identified via
pip-auditandnpm auditacross all non-deprecated components in the IMAGE-server repository. All deprecated folders (handlers/deprecated/*,preprocessors/deprecated/*) are excluded from changes.Addresses issue #1111 — Review dependabot issues for non-deprecated containers.
Python dependency updates (33 requirements.txt files)
Node.js dependency updates (9 package-lock.json files)
All 9 non-deprecated Node.js components now have 0 npm audit vulnerabilities.
Dockerfile updates
preprocessors/object-detection-azurepython:3.9-alpinetopython:3.13.9-alpine3.22preprocessors/sortingpython:3.8-alpinetopython:3.13.9-alpine3.22Compatibility analysis
All Python services use basic Flask APIs (
Flask,request,jsonify) with no usage of removed/deprecated features. The few Werkzeug imports (FileWrapper,BaseConverter) remain available in the new versions. All new dependency versions were verified against the GitHub Advisory Database.Not updated (high risk of code breakage)
Testing
pip-auditconfirms all non-deprecated Python components are vulnerability-freenpm auditconfirms 0 vulnerabilities across all 9 Node.js componentsmainresolved (Flask==3.1.3 accepted from main; Dockerfile updates incorporated)