Repository navigation
fix(security): pin httpcore5 (core) to 5.4.3 for CVE-2026-54399 - #31442
Merged
sonika-shah merged 1 commit intoAug 13, 2026
Merged
sonika-shah merged 1 commit into
sonika-shah merged 1 commit into
Conversation
The existing security pin covered only httpcore5-h2. The vulnerable HTTP/1.1 message parser (CVE-2026-54399, uncontrolled resource consumption / DoS) lives in the httpcore5 core artifact, which was unmanaged and resolved transitively to 5.3.x (both standalone and shaded into the elasticsearch-deps uber-jar). Pin core5 to 5.4.3, matching the httpcore5-h2 line already pinned.
Contributor
❌ 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 |
Code Review ✅ ApprovedPins the httpcore5 dependency to 5.4.3 via dependencyManagement to address CVE-2026-54399 in the HTTP/1.1 message parser. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
yan-3005
approved these changes
Aug 13, 2026
sonika-shah
enabled auto-merge
August 13, 2026 05:37
sonika-shah
added this pull request to the merge queue
Aug 13, 2026
Merged
via the queue into
open-metadata:main
with commit Aug 13, 2026
6fe49b9
99 of 100 checks passed
3 tasks
sonika-shah
pushed a commit
that referenced
this pull request
Aug 14, 2026
… backport) (#31513) 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
3 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
dependencyManagementpin fororg.apache.httpcomponents.core5:httpcore5→ 5.4.3, alongside the existinghttpcore5-h2pin.Why
CVE-2026-54399 — Uncontrolled Resource Consumption (DoS) in the HTTP/1.1 message parser of Apache HttpComponents Core (
5.4.2 and earlier).The existing security pin only covers
httpcore5-h2(the HTTP/2 protocol module). The vulnerable parser lives in thehttpcore5core artifact, which was unmanaged and resolved transitively to5.3.x— both as a standalone jar on the service classpath and shaded into theelasticsearch-depsuber-jar (viaelasticsearch-java→ Apache HTTP transport; those classes are shaded but not relocated, so a scanner reads the bundledpom.properties).Because the
elasticsearch-depshade module inherits thisdependencyManagementfrom the rootplatformpom, pinning core5 here forces5.4.3to be resolved at shade time — fixing the bundled copy as well as the standalone one.Why 5.4.3 (not 5.5-beta2)
The CVE affected range is
5.4.2 and earlier, so5.4.3is the fix on the stable line — the same line thehttpcore5-h2pin already sits on. No need to move a production dependency onto the5.5-beta2pre-release.Verification
httpcore5:5.4.3(core) confirmed present on Maven Central.