Security updates: fix vulnerable Python dependencies#1867
Open
thomasht86 wants to merge 5 commits intomasterfrom
Open
Security updates: fix vulnerable Python dependencies#1867thomasht86 wants to merge 5 commits intomasterfrom
thomasht86 wants to merge 5 commits intomasterfrom
Conversation
This example app is no longer current. Replaced by other demos. Also had a vulnerable pinned cryptography==44.0.1 dependency (CVE-2026-26007). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Lock file was out of sync with pyproject.toml and requirements.txt. Dependencies should be resolved at install time from pyproject.toml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes CVE-2024-11392, CVE-2024-11393, CVE-2024-11394 — deserialization of untrusted data vulnerabilities allowing remote code execution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The pinned requirements file contained multiple vulnerable dependency versions (pypdf, pillow, cryptography, transformers). Renamed to legacy to signal it may be out of date; pyproject.toml is the source of truth. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add note that the legacy requirements file may be out of date and recommend using uv with pyproject.toml instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
fyi @odosk |
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
examples/fasthtml-demo— no longer current, replaced by other demos. Had vulnerablecryptography==44.0.1(CVE-2026-26007)transformersto 4.53.0 invisual-retrieval-colpali/pyproject.toml— fixes RCE vulnerabilities (CVE-2024-11392, CVE-2024-11393, CVE-2024-11394)uv.lockfromvisual-retrieval-colpali— was out of sync with pyproject.tomlrequirements.txttolegacy-requirements.txt— pinned file contained vulnerable versions of pypdf, pillow, cryptography, and transformers. Renamed to signal it may be out of date;pyproject.tomlis the source of truthShould make the 4 open Renovate security PRs (#1842, #1843, #1844, #1853) obsolete.
Test plan
visual-retrieval-colpaliinstalls cleanly frompyproject.tomlwithuv sync🤖 Generated with Claude Code