Commit 06476c8
authored
Bump shaded bouncycastle and libthrift to clear remaining CVE findings (#1461)
## Summary
Clears the two remaining unsuppressed CVSS≥7 findings against the JDBC
driver (visible via PR #1460's OSV-Scanner gate). Three commits — two
version bumps and a small cleanup:
1. **bouncycastle 1.79 → 1.84** — addresses three GHSA-tracked
vulnerabilities (CVE-2026-5598 severity 8.9 + two MEDIUMs). All three
are NVD-CPE-invisible and were only surfaced by the new OSV-Scanner
gate. One-line property bump.
2. **libthrift 0.19.0 → 0.23.0** — clears the May 2026 Apache Thrift
advisory batch (GHSA-7pwc-h2j2-rjgj covering
CVE-2026-41603/41604/41605/43869). Required regenerating the checked-in
Thrift-generated Java sources because libthrift 0.21 broke API
compatibility (added a third generic to `ProcessFunction` via
THRIFT-5762).
3. **Remove in-repo Thrift IDL and regen script** — the IDL belongs
upstream (it's the shared Thrift interface for multiple SQL drivers),
not duplicated here. Generated Java sources are what the Maven build
consumes; deleting the IDL doesn't change behavior. Future regenerations
should run against the upstream IDL/tooling.
## What this PR is NOT
* It doesn't depend on PR #1460. The CVE findings exist on main today;
this PR clears them whether or not the security-scan gate lands first.
* It doesn't touch the upstream IDL or attempt to centralize regen
tooling. That's a separate cross-driver concern that can be addressed in
its own change.
## Test plan
- [x] `mvn clean install -DskipTests -Plocal` succeeds across all three
commits (including after the IDL/script deletion — the Maven build never
referenced either).
- [x] `mvn -pl jdbc-core test -Plocal
-Dgroups='!Jvm17PlusAndArrowToNioReflectionDisabled'` — **3288 tests, 0
failures, 0 errors** after the libthrift regen.
- [x] `mvn dependency:tree` confirms resolved versions: `libthrift
0.23.0`, `bcprov-jdk18on 1.84`, `bcpkix-jdk18on 1.84`.
- [ ] Full PR CI on this PR (will go green via the gate from #1460 once
both PRs are on main).
## Follow-up: flip security-scan to required
Once both this PR and #1460 land, the PR security-scan gate from #1460
should have zero unsuppressed CVSS≥7 findings on main. That's the cue to
flip the gate's check to required-to-merge in branch protection (the
explicit plan from #1460).
This pull request and its description were written by Isaac.
---------
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>1 parent 82700db commit 06476c8
111 files changed
Lines changed: 8640 additions & 7752 deletions
File tree
- src/main/java/com/databricks/jdbc
- dbclient/impl/thrift
- model/client/thrift/generated
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
0 commit comments