Skip to content

{Packaging} bump cryptography - #33944

Merged
mansoor sarfraz (msarfraz) merged 1 commit into
Azure:devfrom
msarfraz:bump-cryptography
Aug 21, 2026
Merged

{Packaging} bump cryptography#33944
mansoor sarfraz (msarfraz) merged 1 commit into
Azure:devfrom
msarfraz:bump-cryptography

Conversation

@msarfraz

@msarfraz mansoor sarfraz (msarfraz) commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests
️✔️ None ️✔️ 130/130

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.

Copilot AI lite review requested due to automatic review settings August 20, 2026 23:22
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi mansoor sarfraz (@msarfraz),
Since the current milestone time is less than 7 days, this pr may not catch up with this release.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 cryptography from 46.0.7 to 48.0.1 in the Linux, macOS (Darwin), and Windows bundled requirements files.
  • Bump pyOpenSSL from 26.0.0 to 26.2.0 in 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.

@yonzhan

Copy link
Copy Markdown
Collaborator

bump cryptography

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@msarfraz
mansoor sarfraz (msarfraz) merged commit 1b8090b into Azure:dev Aug 21, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants