Skip to content

fix(security): pin httpcore5 (core) to 5.4.3 for CVE-2026-54399 (1.13 backport) - #31513

Merged
sonika-shah merged 1 commit into
1.13from
fix/security-httpcore5-cve-2026-54399-1.13
Aug 14, 2026
Merged

sonika-shah merged 1 commit into
1.13from
fix/security-httpcore5-cve-2026-54399-1.13

Conversation

@yan-3005

Copy link
Copy Markdown
Contributor

Backport of #31442 to 1.13.

Summary

  • CVE-2026-54399 — HTTP/1.1 parser DoS via excessive headers / header length. Affects httpcore5 <= 5.4.2 and 5.5-alpha..5.5-beta1 (CVSS 3.1 base score 7.5, HIGH).
  • main (fix(security): pin httpcore5 (core) to 5.4.3 for CVE-2026-54399 #31442) only needed to add the httpcore5 (core) pin because httpcore5-h2 was already at 5.4.3 there. 1.13 still had httpcore5-h2 pinned at 5.3.5, so this PR bumps both artifacts to 5.4.3.
  • Flagged by AWS Inspector on the 1.13 nightly #290 collate/server image (sha256:c1cd7c48…) with vulnerable versions surfacing at three paths inside /opt/openmetadata/libs/:
    • httpcore5-5.3.5.jar — standalone (calcite-core → avatica-core → httpclient5 5.5)
    • elasticsearch-deps-1.13.4.jar — shaded 5.3.4 (via elasticsearch-java → httpclient5 5.4.4)
    • opensearch-deps-1.13.4.jar — shaded 5.3.4 (via opensearch-java → httpclient5 5.5)

Verification (local mvn dependency:tree with pin applied)

elasticsearch-deps: httpcore5 5.4.3, httpcore5-h2 5.4.3
opensearch-deps:    httpcore5 5.4.3, httpcore5-h2 5.4.3
openmetadata-service (calcite path): httpcore5 5.4.3, httpcore5-h2 5.4.3

Shaded uber-jars produced by the reactor build embed version=5.4.3 in META-INF/maven/org.apache.httpcomponents.core5/httpcore5/pom.properties (was 5.3.4). Full mvn clean install -DskipTests on :openmetadata-service and reactor succeeds.

Follow-up

Collate root pom on 1.13 has its own restated httpcore5-h2 = 5.3.5 pin (OSS dep-management does not propagate to Collate consumers). A companion Collate PR is needed for the standalone httpcore5-*.jar under /opt/openmetadata/libs/ — filing separately.

Test plan

  • CI build on 1.13
  • Nightly rebuild of openmetadata/ingestion-slim:1.13-* + collate/server:1.13-* picks up the pin
  • AWS Inspector rescan clears the two shaded-jar paths (standalone jar cleared by companion Collate PR)

… backport)

Backport of #31442 to 1.13.

CVE-2026-54399 (uncontrolled resource consumption / DoS via excessive
headers or header length) affects httpcore5 <= 5.4.2 and
5.5-alpha..5.5-beta1. The HTTP/1.1 message parser lives in the core
artifact, which was unmanaged and resolved transitively to 5.3.x —
5.3.5 via calcite-core -> avatica-core -> httpclient5 5.5, and 5.3.4
shaded into elasticsearch-deps / opensearch-deps via
elasticsearch-java / opensearch-java's httpclient5 chain.

Pin core5 to 5.4.3 and also bump httpcore5-h2 5.3.5 -> 5.4.3 to keep
both artifacts on the same line (main was already on h2 5.4.3, so
#31442 only needed to add core; 1.13 needs both).

Verified via mvn dependency:tree on 1.13 with the pin applied:
- elasticsearch-deps: httpcore5 5.4.3, httpcore5-h2 5.4.3
- opensearch-deps:    httpcore5 5.4.3, httpcore5-h2 5.4.3
- openmetadata-service (calcite path): httpcore5 5.4.3, httpcore5-h2 5.4.3
@github-actions

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 backend safe to test Add this label to run secure Github workflows on PRs labels Aug 14, 2026
@gitar-bot

gitar-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Pins httpcore5 and httpcore5-h2 to 5.4.3 across the 1.13 branch to address CVE-2026-54399. 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 👍 / 👎 | Powered by Gitar — free for open source

@sonika-shah
sonika-shah merged commit 2d267d3 into 1.13 Aug 14, 2026
61 of 95 checks passed
@sonika-shah
sonika-shah deleted the fix/security-httpcore5-cve-2026-54399-1.13 branch August 14, 2026 08:46
@yan-3005 yan-3005 self-assigned this Nov 19, 2026

This branch was previously deployed

1 inactive deployment
test — dccc7110 Deployed Aug 14, 2026 by yan-3005 via playwright-ci-postgresql (1, 6) #68238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 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.

2 participants