Repository navigation
fix(security): bump BouncyCastle to 1.85 to clear bcprov-jdk18on findings - #30913
Conversation
…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]>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
There was a problem hiding this comment.
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-jdk18onfrom1.84to1.85. - Bumped
org.bouncycastle:bcprov-jdk18onfrom1.84to1.85. - Bumped
org.bouncycastle:bcutil-jdk18onfrom1.84to1.85.
✅ Playwright Results — workflow succeededValidated commit ✅ 549 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking 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:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
Changes have been cherry-picked to the 2.0 branch. |
…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)
|
Changes have been cherry-picked to the 1.13 branch. |
…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)
Code Review ✅ ApprovedBumps BouncyCastle dependencies ( OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source |
…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]>
Summary
The
dependencyManagementpin forbcprov-jdk18on,bcpkix-jdk18on, andbcutil-jdk18onwas 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)):This bumps all three lockstep artifacts to 1.85 (latest on Maven Central).
Test
mvn -pl openmetadata-service dependency:tree -Dincludes=org.bouncycastle:Pin overrides the transitive version (pulled via
io.kubernetes:client-java); 1.85 resolves on the classpath.🤖 Generated with Claude Code