Skip to content

fix(security): bump BouncyCastle to 1.85 to clear bcprov-jdk18on findings - #30913

Merged
sonika-shah merged 2 commits into
mainfrom
fix-bcprov-jdk18on-cve
Aug 4, 2026
Merged

sonika-shah merged 2 commits into
mainfrom
fix-bcprov-jdk18on-cve

Conversation

@karanh37

@karanh37 karanh37 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The dependencyManagement pin for bcprov-jdk18on, bcpkix-jdk18on, and bcutil-jdk18on was at 1.84, which the Collate server dependency scan still flags. Version 1.84 is affected by four vulnerabilities fixed only in 1.85 (all ranges [,1.85)):

  • Improper Input Validation
  • Improper Certificate Validation
  • Inadequate Encryption Strength
  • Memory Allocation with Excessive Size Value

This bumps all three lockstep artifacts to 1.85 (latest on Maven Central).

Test

mvn -pl openmetadata-service dependency:tree -Dincludes=org.bouncycastle:

\- io.kubernetes:client-java:jar:24.0.0:compile
   \- org.bouncycastle:bcpkix-jdk18on:jar:1.85:compile
      \- org.bouncycastle:bcutil-jdk18on:jar:1.85:compile
         \- org.bouncycastle:bcprov-jdk18on:jar:1.85:compile
BUILD SUCCESS

Pin overrides the transitive version (pulled via io.kubernetes:client-java); 1.85 resolves on the classpath.

🤖 Generated with Claude Code

…ings

The dependencyManagement pin for bcprov/bcpkix/bcutil-jdk18on was at 1.84,
which the Collate server dependency scan still flags. Version 1.84 is affected
by four vulnerabilities fixed only in 1.85 (all ranges [,1.85)): Improper Input
Validation, Improper Certificate Validation, Inadequate Encryption Strength,
and Memory Allocation with Excessive Size Value.

Bump all three lockstep artifacts to 1.85 (latest on Maven Central).
Verified resolution: `mvn -pl openmetadata-service dependency:tree
-Dincludes=org.bouncycastle` shows 1.85 on the classpath (pulled via
io.kubernetes:client-java, pin overrides), BUILD SUCCESS.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings August 4, 2026 05:32
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Aug 4, 2026

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 the root Maven dependencyManagement pin for BouncyCastle *-jdk18on artifacts to ensure the OpenMetadata build resolves patched versions (overriding the transitive versions pulled by other dependencies such as io.kubernetes:client-java) and clears reported security findings.

Changes:

  • Bumped org.bouncycastle:bcpkix-jdk18on from 1.84 to 1.85.
  • Bumped org.bouncycastle:bcprov-jdk18on from 1.84 to 1.85.
  • Bumped org.bouncycastle:bcutil-jdk18on from 1.84 to 1.85.

@karanh37 karanh37 added the To release Will cherry-pick this PR into the release branch label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit f776b89bad46ef11569f75235086922864a1060e in Playwright run 30899003941, attempt 1.

✅ 549 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 53m 33s

⏱️ Max setup 3m 1s · max shard execution 17m 48s · max shard-job elapsed before upload 21m 17s · reporting 6s

🌐 204.40 requests/attempt · 2.83 app boots/UI scenario · 20.04% common-shard skew

Optimization targets still in progress:

  • Common shard skew was 20.04% (convergence target: at most 15%).
  • Browser traffic was 204.4 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 2.83 per UI scenario (1620 boots / 572 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
🟡 Shard chromium-01 124 0 1 0 0 0
✅ Shard chromium-02 143 0 0 0 0 0
✅ Shard chromium-03 131 0 0 0 0 0
✅ Shard data-asset-rules-01 61 0 0 0 0 0
✅ Shard domain-isolation-01 14 0 0 0 0 0
✅ Shard global-state-01 34 0 0 0 0 0
✅ Shard ingestion-01 1 0 0 0 0 0
✅ Shard reindex-01 2 0 0 0 0 0
✅ Shard search-01 10 0 0 0 0 0
✅ Shard search-rbac-01 29 0 0 0 0 0
🟡 1 flaky test(s) (passed on retry)
  • Pages/Entity.spec.ts › Domain Propagation (shard chromium-01, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@sonika-shah
sonika-shah enabled auto-merge August 4, 2026 06:30
Copilot AI review requested due to automatic review settings August 4, 2026 10:03
@karanh37 karanh37 removed the UI UI specific issues label Aug 4, 2026

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

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

@sonika-shah
sonika-shah added this pull request to the merge queue Aug 4, 2026
Merged via the queue into main with commit b460b97 Aug 4, 2026
105 of 106 checks passed
@sonika-shah
sonika-shah deleted the fix-bcprov-jdk18on-cve branch August 4, 2026 12:04
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Changes have been cherry-picked to the 2.0 branch.

github-actions Bot pushed a commit that referenced this pull request Aug 4, 2026
…ings (#30913)

The dependencyManagement pin for bcprov/bcpkix/bcutil-jdk18on was at 1.84,
which the Collate server dependency scan still flags. Version 1.84 is affected
by four vulnerabilities fixed only in 1.85 (all ranges [,1.85)): Improper Input
Validation, Improper Certificate Validation, Inadequate Encryption Strength,
and Memory Allocation with Excessive Size Value.

Bump all three lockstep artifacts to 1.85 (latest on Maven Central).
Verified resolution: `mvn -pl openmetadata-service dependency:tree
-Dincludes=org.bouncycastle` shows 1.85 on the classpath (pulled via
io.kubernetes:client-java, pin overrides), BUILD SUCCESS.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
(cherry picked from commit b460b97)
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Changes have been cherry-picked to the 1.13 branch.

github-actions Bot pushed a commit that referenced this pull request Aug 4, 2026
…ings (#30913)

The dependencyManagement pin for bcprov/bcpkix/bcutil-jdk18on was at 1.84,
which the Collate server dependency scan still flags. Version 1.84 is affected
by four vulnerabilities fixed only in 1.85 (all ranges [,1.85)): Improper Input
Validation, Improper Certificate Validation, Inadequate Encryption Strength,
and Memory Allocation with Excessive Size Value.

Bump all three lockstep artifacts to 1.85 (latest on Maven Central).
Verified resolution: `mvn -pl openmetadata-service dependency:tree
-Dincludes=org.bouncycastle` shows 1.85 on the classpath (pulled via
io.kubernetes:client-java, pin overrides), BUILD SUCCESS.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
(cherry picked from commit b460b97)
@gitar-bot

gitar-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Bumps BouncyCastle dependencies (bcprov-jdk18on, bcpkix-jdk18on, and bcutil-jdk18on) to version 1.85 to clear upstream vulnerability findings. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source

k-anshul pushed a commit to k-anshul/OpenMetadata that referenced this pull request Aug 12, 2026
…ings (open-metadata#30913)

The dependencyManagement pin for bcprov/bcpkix/bcutil-jdk18on was at 1.84,
which the Collate server dependency scan still flags. Version 1.84 is affected
by four vulnerabilities fixed only in 1.85 (all ranges [,1.85)): Improper Input
Validation, Improper Certificate Validation, Inadequate Encryption Strength,
and Memory Allocation with Excessive Size Value.

Bump all three lockstep artifacts to 1.85 (latest on Maven Central).
Verified resolution: `mvn -pl openmetadata-service dependency:tree
-Dincludes=org.bouncycastle` shows 1.85 on the classpath (pulled via
io.kubernetes:client-java, pin overrides), BUILD SUCCESS.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants