Skip to content

fix(security): bump libthrift to 0.25.0 for CVE-2026-82458 - #34703

Merged
Khairajani merged 1 commit into
mainfrom
fix/libthrift-0.25.0
Oct 6, 2026
Merged

Khairajani merged 1 commit into
mainfrom
fix/libthrift-0.25.0

Conversation

@Khairajani

Copy link
Copy Markdown
Contributor

Fixes #34702

One dependencyManagement version string. The pin exists to override Jena's vulnerable transitive (6.1.0 still pulls 0.22.0) — only the version moves. 0.24.0 covered CVE-2026-43869 / CVE-2026-45112 / CVE-2026-48586; CVE-2026-82458 needs 0.25.0.

Binary compatibility was checked against the published jars rather than assumed: 0.25.0 removes no class present in 0.24.0 and still carries org.apache.thrift.TException — the symbol Jena's ModelFactory statically references, and the reason this pin overrides instead of excluding.

Mirrors openmetadata-collate#7105, which bumps the same pin on the Collate side (dependencyManagement does not propagate to downstream consumers, so each repo pins it independently).

Not related to the Python thrift floor in ingestion/setup.py, which stays at 0.24.0 — databricks-sql-connector 4.6.0 caps thrift below 0.25.0 there. No such ceiling exists on the Java side.

Needs backporting to 2.0 and 1.13.

🤖 Generated with Claude Code

The pin exists to override Jena's vulnerable transitive (6.1.0 still pulls
0.22.0); only the version moves. 0.24.0 covered CVE-2026-43869,
CVE-2026-45112 and CVE-2026-48586; CVE-2026-82458 needs 0.25.0.

Binary compatibility checked against the published jars rather than assumed:
0.25.0 removes no class present in 0.24.0 and still carries
org.apache.thrift.TException, which is the symbol Jena's ModelFactory
statically references and the reason this pin overrides rather than excludes.

Unrelated to the Python thrift floor in ingestion/setup.py, which stays at
0.24.0 -- databricks-sql-connector caps thrift below 0.25.0 there. No such
ceiling exists on the Java side.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This 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 skip-pr-checks label.

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@gitar-bot

gitar-bot Bot commented Oct 6, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · The Java Thrift dependency upgrade changes the runtime library used by Jena.

Bumps libthrift to 0.25.0 to address CVE-2026-82458, with binary compatibility verified against published jars. The dependencyManagement override remains in place to handle Jena's vulnerable transitive dependency. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

Compact
gitar display:verbose         

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

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 42366d5d4f74dd19e078ecbb2107a0d528b63302 in Playwright run 37423537735, attempt 1.

✅ 213 passed · ❌ 0 failed · 🟡 0 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) 44m 46s

⏱️ Max setup 4m 35s · max shard execution 8m 45s · max shard-job elapsed before upload 12m 18s · reporting 3s

🌐 202.80 requests/attempt · 1.76 app boots/UI scenario · 0.00% common-shard skew

Optimization targets still in progress:

  • Browser traffic was 202.8 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 1.76 per UI scenario (383 boots / 217 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 74 0 0 0 0 0
✅ Shard data-asset-rules-01 65 0 0 0 0 0
✅ Shard global-state-01 62 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-rbac-01 9 0 0 0 0 0

📦 Download artifacts

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

@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Oct 6, 2026
@Khairajani
Khairajani enabled auto-merge October 6, 2026 06:24
@Khairajani
Khairajani added this pull request to the merge queue Oct 6, 2026
Merged via the queue into main with commit d73a3a2 Oct 6, 2026
200 of 212 checks passed
@Khairajani
Khairajani deleted the fix/libthrift-0.25.0 branch October 6, 2026 08:47
sonika-shah added a commit that referenced this pull request Oct 12, 2026
…35243)

The pin exists to override Jena's vulnerable transitive (6.1.0 still pulls
0.22.0); only the version moves. 0.24.0 covered CVE-2026-43869,
CVE-2026-45112 and CVE-2026-48586; CVE-2026-82458 needs 0.25.0.

Binary compatibility checked against the published jars rather than assumed:
0.25.0 removes no class present in 0.24.0 and still carries
org.apache.thrift.TException, which is the symbol Jena's ModelFactory
statically references and the reason this pin overrides rather than excludes.

Unrelated to the Python thrift floor in ingestion/setup.py, which stays at
0.24.0 -- databricks-sql-connector caps thrift below 0.25.0 there. No such
ceiling exists on the Java side.

(cherry picked from commit d73a3a2)

Co-authored-by: Himanshu Khairajani <[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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libthrift pinned at 0.24.0 carries CVE-2026-82458

2 participants