Bump dependency versions to fix 13 security vulnerabilities#909
Open
ianhelle wants to merge 4 commits into
Open
Bump dependency versions to fix 13 security vulnerabilities#909ianhelle wants to merge 4 commits into
ianhelle wants to merge 4 commits into
Conversation
This was referenced Jun 4, 2026
Address 13 packages flagged by Component Governance with known CVEs: Direct dependencies: - azure-core >=1.38.0 (CVE-2026-21226 - RCE via deserialization) - cryptography >=46.0.7 (CVE-2026-26007, CVE-2026-34073, CVE-2026-39892) - jinja2 >=3.1.6 (CVE-2024-56326, CVE-2024-56201, CVE-2025-27516) - lxml >=6.1.1 (CVE-2026-41066 XXE, CVE-2025-7424, CVE-2025-11731) - pyjwt >=2.13.0 (CVE-2026-32597 + 5 others) - urllib3 >=2.7.0 (CVE-2025-50181/50182, CVE-2025-66418/66471) Transitive dependencies (security floor pins): - aiohttp >=3.14.0 (CVE-2026-34993 RCE, CVE-2026-47265) - h11 >=0.16.0 (CVE-2025-43859 request smuggling) - idna >=3.15 (CVE-2026-45409 DoS) - jaraco.context >=6.1.0 (CVE-2026-23949 Zip Slip) - Pillow >=12.2.0 (CVE-2026-25990 + 4 others) - tornado >=6.5.5 (CVE-2024-52804 + 3 others) - filelock >=3.20.3 (CVE-2025-68146 TOCTOU race) Supersedes dependabot PRs #905 (cryptography) and #906 (jinja2). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
933e3b5 to
83afaf3
Compare
…security-dep-bumps
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates MSTICPy’s pip and conda dependency floors to remediate security vulnerabilities flagged by Component Governance by bumping several direct dependencies and adding minimum pins for vulnerable transitives.
Changes:
- Bumped minimum versions for key direct dependencies (e.g.,
azure-core,cryptography,jinja2,lxml,pyjwt,urllib3). - Added explicit minimum pins for vulnerable transitive dependencies (e.g.,
aiohttp,h11,idna,jaraco.context,Pillow,tornado) to prevent backsliding via indirect resolution. - Updated docs and conda/dev requirement sets to reflect newer secure baselines.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| requirements.txt | Raises core install dependency floors and adds transitive minimum pins for security fixes. |
| requirements-all.txt | Updates the “all extras” dependency set and adds transitive minimum pins (but currently has inconsistencies). |
| docs/requirements.txt | Adjusts docs build requirements, including security-related bumps (e.g., cryptography, jinja2, httpx). |
| conda/conda-reqs.txt | Mirrors core dependency floor bumps for conda installs and adds transitive minimum pins. |
| conda/conda-reqs-dev.txt | Updates dev-time dependency floors (e.g., aiohttp, filelock) for security remediation. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
Contributor
Resolved the merge conflicts by merging |
FlorianBracq
requested changes
Jun 6, 2026
FlorianBracq
left a comment
Collaborator
There was a problem hiding this comment.
Small inconsistencies in version specifiers for jinja. Apart from that, all good!
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
Bumps minimum versions for 13 packages flagged by Component Governance with known CVEs.
Direct dependencies updated
Transitive dependency floor pins added
Files changed
equirements.txt\ - core install deps
equirements-all.txt\ - all extras deps
Supersedes