{Packaging} bump cryptography - #33944
Merged
Merged
Conversation
|
Hi mansoor sarfraz (@msarfraz), |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
ZelinWang (wangzelin007) and
Yong Zhang (yonzhan)
August 20, 2026 23:22
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the bundled-build (platform-specific) dependency pins for cryptography and pyOpenSSL so the packaged Azure CLI no longer ships cryptography wheels affected by GHSA-537c-gmf6-5ccf.
Changes:
- Bump
cryptographyfrom46.0.7to48.0.1in the Linux, macOS (Darwin), and Windows bundled requirements files. - Bump
pyOpenSSLfrom26.0.0to26.2.0in the same files to keep the dependency set compatible.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/requirements.py3.windows.txt | Pins cryptography==48.0.1 and pyOpenSSL==26.2.0 for Windows bundled builds. |
| src/azure-cli/requirements.py3.Linux.txt | Pins cryptography==48.0.1 and pyOpenSSL==26.2.0 for Linux bundled builds. |
| src/azure-cli/requirements.py3.Darwin.txt | Pins cryptography==48.0.1 and pyOpenSSL==26.2.0 for macOS bundled builds. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
|
bump cryptography |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Copilot started reviewing on behalf of
mansoor sarfraz (msarfraz)
August 21, 2026 00:18
View session
Naga Nandyala (naga-nandyala)
approved these changes
Aug 21, 2026
Yong Zhang (yonzhan)
approved these changes
Aug 21, 2026
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.
🤖 PR Validation — ️✔️ All clear
The bundled-build requirements pin cryptography==46.0.7 in all three platform files (src/azure-cli/requirements.py3.{Linux,Darwin,windows}.txt). That version is affected by GHSA-537c-gmf6-5ccf — "Vulnerable OpenSSL included in cryptography wheels" (CVSS 7.5, AV:N/AC:L/PR:N/UI:N/…/A:H). Per OSV the fix is cryptography 48.0.1.
cryptography → ≥ 48.0.1 (fixed), and
pyOpenSSL → a version that permits it — 26.2.0
Expected behavior
Bundled azure-cli ships cryptography ≥ 48.0.1 (with a compatible pyOpenSSL), clearing GHSA-537c-gmf6-5ccf.