fix(deps): replace bouncycastle jdk15on with jdk18on 1.85 #4312
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.43) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 377 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.355
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4312"
general
weight: 0.35
Duansg
What's changed?
Fixes #3540: the project ships BouncyCastle from the abandoned
jdk15online (bcpkix-jdk15on:1.68, 2020) — it no longer receives releases, so its known CVEs will never be patched, and every dependency scan flags it. The maintainedjdk18online shares package and class names, so it is a drop-in replacement; the version is managed once in the root pom:jdk15onenters the build through two different doors, fixed differently:1. Direct dependency (
hertzbeat-collector-basic)MqttSslFactoryuses BC to parse client certificates/keys for MQTT TLS auth, via a hardcodedbcpkix-jdk15on:1.68in the module pom. Straight swap tobcpkix-jdk18on:${bouncycastle.version}.2. Transitive dependency (
hertzbeat-collector-nebulagraph)The vesoft NebulaGraph client brings jdk15on with it — we don't control its pom, so the module now excludes the jdk15on jars from the vesoft dependency and supplies jdk18on explicitly. The vesoft client was compiled against jdk15on, but since both lines expose identical packages/classes it links against jdk18on unchanged — proven by a smoke test that runs its
SslUtilon the new jars.License material
material/licensesis bundled into the binary distribution, so the three manifests and the six per-artifactLICENSE-bc-.txtfiles are renamed/updated tojdk18on/1.85 — otherwise the release would declare components it no longer ships.Verification
Dependency tree, before → after:
jdk15onno longer appears anywhere in the reactor, and the docker image lib/ carries only the three jdk18on jars. Every BC consumer was exercised against 1.85, not just compiled:MqttSslFactoryTestparses generated PKCS#1 and PKCS#8 private keys through the productiongetMslSocketFactorypath.VesoftSslBouncyCastleSmokeTestfeeds a BC-generated certificate through the vesoft client's ownSslUtil.SshHelper.getConnectSessioncompleted a real handshake (AUTHED) against OpenSSH 9.6.Full test suites of all modules with BC on the classpath (collector-common, collector-basic, collector-nebulagraph, collector-collector, push) pass.
Checklist
Add or update API