Skip to content

Bump azure-identity to 1.18.4 and azure-security-keyvault-keys to 4.11.1 - #2984

Merged
Mahendra Chavan (machavan) merged 1 commit into
mainfrom
users/machavan/azureversionbumps
Jul 15, 2026
Merged

Bump azure-identity to 1.18.4 and azure-security-keyvault-keys to 4.11.1#2984
Mahendra Chavan (machavan) merged 1 commit into
mainfrom
users/machavan/azureversionbumps

Conversation

@machavan

Copy link
Copy Markdown
Contributor

Bump azure-identity and azure-security-keyvault-keys to resolve transitive Netty and Jackson CVEs

Summary

Bumps two optional Azure SDK dependencies to their latest stable versions so that the recently patched Netty and Jackson artifacts flow in transitively. No new dependencyManagement / resolutionStrategy.force overrides are introduced — the upstream releases resolve the outstanding CVE alerts on their own.

Dependency Before After Released
com.azure:azure-identity 1.18.2 1.18.4 2026-06-12
com.azure:azure-security-keyvault-keys 4.10.5 4.11.1 2026-07-02

Both are declared with <optional>true</optional> (Always Encrypted CMK + federated auth) and are unused by the core driver code path.

Transitive resolution after the bump

Both target versions bring in the same clean transitive set:

azure-identity 1.18.4
├── azure-core-http-netty 1.16.5   → Netty 4.1.135.Final (all 20 Netty CVEs fixed)
├── azure-core 1.58.1               → jackson-core 2.18.6 (GHSA-72hv-8253-57qq fixed)
└── msal4j 1.23.1

azure-security-keyvault-keys 4.11.1
├── azure-core-http-netty 1.16.5   (same)
└── azure-core 1.58.1               (same)

Alerts resolved

Group Count Root artifact Fixed in
Netty 4.1.130.Final CVEs 17 azure-core-http-netty 1.16.3 azure-core-http-netty 1.16.5 (Netty 4.1.135.Final)
netty-resolver-dns / netty-codec-dns 4.1.128.Final CVEs 3 azure-core-http-netty 1.16.3 azure-core-http-netty 1.16.5
jackson-core 2.18.4.1 (GHSA-72hv-8253-57qq) 1 azure-core 1.57.1 azure-core 1.58.1 (jackson-core 2.18.6)
Total 21

Changes

Four line edits, split across two build files.

pom.xml — property block

     <org.osgi.core.version>6.0.0</org.osgi.core.version>
-    <azure-security-keyvault-keys.version>4.10.5</azure-security-keyvault-keys.version>
-    <azure-identity.version>1.18.2</azure-identity.version>
+    <azure-security-keyvault-keys.version>4.11.1</azure-security-keyvault-keys.version>
+    <azure-identity.version>1.18.4</azure-identity.version>
     <osgi.jdbc.version>1.1.0</osgi.jdbc.version>

build.gradlecompileOnly and testImplementation blocks

-    compileOnly 'com.azure:azure-security-keyvault-keys:4.10.5',
-            'com.azure:azure-identity:1.18.2',
+    compileOnly 'com.azure:azure-security-keyvault-keys:4.11.1',
+            'com.azure:azure-identity:1.18.4',
             'org.bouncycastle:bcprov-jdk18on:1.79',
-            'com.azure:azure-security-keyvault-keys:4.10.5',
-            'com.azure:azure-identity:1.18.2',
+            'com.azure:azure-security-keyvault-keys:4.11.1',
+            'com.azure:azure-identity:1.18.4',
             'com.h2database:h2:2.2.220'

Backward compatibility

  • Both artifacts remain <optional>true</optional> — no impact on consumers that don't use Always Encrypted with Azure Key Vault or federated authentication.
  • azure-identity 1.18.2 → 1.18.4 is a patch bump on the same 1.18.x line.
  • azure-security-keyvault-keys 4.10.5 → 4.11.1 is a minor bump; the public API surface used by the driver (KeyClient / CryptographyClient) is unchanged.
  • Staying on the Netty 4.1.x branch avoids cross-major-version runtime differences.

References

  • azure-core-http-netty 1.16.5 release notes — Netty bumped to 4.1.135.Final
  • azure-core 1.58.1 release notes — jackson-core bumped to 2.18.6
  • GHSA-72hv-8253-57qqjackson-core StackOverflowError on deeply nested input

Pulls in azure-core-http-netty 1.16.5 (Netty 4.1.135.Final) and azure-core 1.58.1 (jackson-core 2.18.6) transitively, clearing 20 Netty CVEs and GHSA-72hv-8253-57qq without any dependencyManagement overrides. Follows Azure SDK team guidance to stay on the Netty 4.1.x line.

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

This PR updates two optional Azure SDK dependencies used by the driver’s Azure Key Vault / federated auth integrations, primarily to pull in patched transitive Netty and Jackson versions and resolve CVE alerts without adding extra dependency overrides.

Changes:

  • Bump com.azure:azure-identity from 1.18.2 to 1.18.4 (Maven + Gradle).
  • Bump com.azure:azure-security-keyvault-keys from 4.10.5 to 4.11.1 (Maven + Gradle).
  • Keep both dependencies optional/compileOnly as before (no change to core driver dependency surface).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pom.xml Updates Azure dependency version properties while keeping the dependencies optional.
build.gradle Updates the same Azure dependency versions in compileOnly and testImplementation declarations.

@machavan

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

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

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.25%. Comparing base (76ac158) to head (ea38d30).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2984   +/-   ##
=========================================
  Coverage     59.25%   59.25%           
+ Complexity     5058     5054    -4     
=========================================
  Files           153      153           
  Lines         36339    36339           
  Branches       6645     6645           
=========================================
+ Hits          21531    21534    +3     
+ Misses        11091    11075   -16     
- Partials       3717     3730   +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@machavan
Mahendra Chavan (machavan) merged commit 613e728 into main Jul 15, 2026
16 of 24 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Closed/Merged PRs in MSSQL JDBC Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed/Merged PRs

Development

Successfully merging this pull request may close these issues.

4 participants