Skip to content

chore(deps): Upgrade Netty to 4.2.18.Final - #26346

Merged
davsclaus merged 1 commit into
camel-4.22.xfrom
quick-fix/netty-4.2.18-4.22.x
Sep 12, 2026
Merged

chore(deps): Upgrade Netty to 4.2.18.Final#26346
davsclaus merged 1 commit into
camel-4.22.xfrom
quick-fix/netty-4.2.18-4.22.x

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

Backport of #26345 to camel-4.22.x.

Upgrades Netty from 4.2.17.Final to 4.2.18.Final (released 2026-09-09).

Why

This is a bug-fix and security release. The Netty team lists 30 reported vulnerabilities fixed across the HTTP/1.1, HTTP/2, HTTP/3, SMTP, STOMP, MQTT, Redis, memcache, HAProxy and OCSP modules — request/response smuggling, improper header and certificate validation, unbounded resource usage and memory leaks. No CVE ids were assigned in time for the release ("due to overwhelming strain on the CVE infrastructure"), so the advisories are published without them.

Release notes: https://netty.io/news/2026/09/09/4-2-18-Final.html

Behaviour changes called out by upstream

  • HTTP/2 header value validation is now enabled by default (previously opt-in). Both name and value validation are now on by default.
  • QUIC now requires an X509ExtendedTrustManager when hostname verification is enabled — previously verification was silently skipped with a plain X509TrustManager, now it throws.

Note on the cherry-pick

The cherry-pick needed a trivial context conflict resolution: camel-4.22.x carries neoscada-version and neo4j-version 6.2.0 on the adjacent lines. Only the netty-version line is changed here — the resulting diff is the same one-line bump as on main.

Testing

mvn verify was run on main for the two directly affected modules (camel-netty: 125 tests, camel-netty-http: 274 tests, all green). The change is identical here.


Claude Code on behalf of davsclaus

Backport of #26345 to camel-4.22.x.

Bug-fix and security release. Netty 4.2.18.Final ships fixes for 30
reported vulnerabilities across the HTTP/1.1, HTTP/2, HTTP/3, SMTP,
STOMP, MQTT, Redis, memcache, HAProxy and OCSP codecs (request/response
smuggling, improper header validation, unbounded resource usage and
memory leaks). No CVE ids were assigned in time for the release.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
(cherry picked from commit e82ced4)
@github-actions

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean backport of #26345 to camel-4.22.x. Single-line version bump 4.2.17.Final4.2.18.Final — a security release fixing 23+ vulnerabilities across Netty HTTP, HTTP/2, HTTP/3, STOMP, MQTT, memcache and OCSP modules. Cherry-pick context conflict trivially resolved (adjacent neoscada-version/neo4j-version lines untouched). Upstream behaviour changes (HTTP/2 header value validation now on by default, QUIC hostname verification strictened) are both security-hardening — no breaking impact on Camel's usage.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@github-actions

Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • parent

POM dependency changes: targeted tests included

Changed properties: netty-version

Modules affected by dependency changes (3)
  • :camel-componentdsl
  • :camel-endpointdsl
  • :camel-netty

🔬 Scalpel shadow comparison — Scalpel: 37 tested, 27 compile-only — current: 0 all tested

Maveniverse Scalpel detected 64 affected modules (current approach: 0).

⚠️ Modules only in Scalpel (64)
  • apache-camel
  • camel-a2a
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-lucene
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-clickup
  • camel-componentdsl
  • camel-csimple-maven-plugin
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-fhir
  • camel-hl7
  • camel-itest
  • camel-java-joor-dsl
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-mcp
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-mcp
  • camel-jbang-plugin-route-parser
  • camel-jbang-plugin-test
  • camel-jbang-plugin-tui
  • camel-jbang-plugin-validate
  • camel-jsonpath
  • camel-kamelet-main
  • camel-knative-http
  • camel-launcher
  • camel-launcher-container
  • camel-mcp-server
  • camel-micrometer-prometheus
  • camel-netty
  • camel-netty-http
  • camel-oauth
  • camel-observability-services
  • camel-openapi-validator
  • camel-platform-http-main
  • camel-platform-http-vertx
  • camel-report-maven-plugin
  • camel-rest-openapi
  • camel-route-parser
  • camel-syslog
  • camel-telegram
  • camel-test-main-junit5
  • camel-test-main-junit6
  • camel-webhook
  • camel-whatsapp
  • camel-xml-io-dsl
  • camel-xml-jaxb-dsl
  • camel-xml-jaxb-dsl-test-definition
  • camel-xml-jaxb-dsl-test-spring
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • camel-yaml-dsl-validator
  • camel-yaml-dsl-validator-maven-plugin
  • coverage
  • docs
  • dummy-component

Changed properties: netty-version

Changed managed dependencies: io.netty:netty-bom

Skip-tests mode would test 37 modules (3 direct + 34 downstream), skip tests for 27 (generated code, meta-modules)

Modules Scalpel would test (37)
  • camel-a2a
  • camel-clickup
  • camel-componentdsl
  • camel-endpointdsl
  • camel-fhir
  • camel-hl7
  • camel-java-joor-dsl
  • camel-jbang-mcp
  • camel-jbang-plugin-mcp
  • camel-jbang-plugin-route-parser
  • camel-jbang-plugin-tui
  • camel-jbang-plugin-validate
  • camel-jsonpath
  • camel-knative-http
  • camel-launcher-container
  • camel-mcp-server
  • camel-micrometer-prometheus
  • camel-netty
  • camel-netty-http
  • camel-oauth
  • camel-observability-services
  • camel-openapi-validator
  • camel-platform-http-main
  • camel-platform-http-vertx
  • camel-rest-openapi
  • camel-syslog
  • camel-telegram
  • camel-test-main-junit5
  • camel-test-main-junit6
  • camel-webhook
  • camel-whatsapp
  • camel-xml-io-dsl
  • camel-xml-jaxb-dsl
  • camel-xml-jaxb-dsl-test-definition
  • camel-xml-jaxb-dsl-test-spring
  • camel-yaml-dsl-validator
  • camel-yaml-dsl-validator-maven-plugin
Modules with tests skipped (27)
  • apache-camel
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-lucene
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-csimple-maven-plugin
  • camel-endpointdsl-support
  • camel-itest
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • docs
  • dummy-component

ℹ️ Shadow mode — Scalpel observes but does not affect test execution. Learn more

All tested modules (65 modules)
  • Camel :: AI :: A2A
  • Camel :: AI :: MCP Server
  • Camel :: All Components Sync point
  • Camel :: Assembly
  • Camel :: Catalog :: CSimple Maven Plugin (deprecated)
  • Camel :: Catalog :: Camel Catalog
  • Camel :: Catalog :: Camel Report Maven Plugin
  • Camel :: Catalog :: Camel Route Parser
  • Camel :: Catalog :: Console
  • Camel :: Catalog :: Dummy Component
  • Camel :: Catalog :: Lucene (deprecated)
  • Camel :: Catalog :: Maven
  • Camel :: Catalog :: Suggest
  • Camel :: ClickUp
  • Camel :: Component DSL
  • Camel :: Coverage
  • Camel :: Docs
  • Camel :: Endpoint DSL
  • Camel :: Endpoint DSL :: Support
  • Camel :: FHIR
  • Camel :: HL7
  • Camel :: Integration Tests
  • Camel :: JBang :: Core
  • Camel :: JBang :: Integration tests
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Main
  • Camel :: JBang :: Plugin :: Edit
  • Camel :: JBang :: Plugin :: Generate
  • Camel :: JBang :: Plugin :: Kubernetes
  • Camel :: JBang :: Plugin :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Testing
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: JSon Path
  • Camel :: Java DSL with jOOR
  • Camel :: Kamelet Main
  • Camel :: Knative HTTP
  • Camel :: Launcher
  • Camel :: Launcher :: Container
  • Camel :: Micrometer :: Prometheus
  • Camel :: Netty
  • Camel :: Netty HTTP
  • Camel :: OAuth
  • Camel :: Observability Services
  • Camel :: OpenAPI :: Validator
  • Camel :: Parent
  • Camel :: Platform HTTP :: Main
  • Camel :: Platform HTTP :: Vert.x
  • Camel :: REST OpenApi
  • Camel :: Syslog
  • Camel :: Telegram
  • Camel :: Test :: Main :: JUnit5
  • Camel :: Test :: Main :: JUnit6
  • Camel :: Webhook
  • Camel :: Whatsapp
  • Camel :: XML DSL Jaxb :: Test :: Definition
  • Camel :: XML DSL Jaxb :: Test :: Spring
  • Camel :: XML DSL with camel-xml-io
  • Camel :: XML DSL with camel-xml-jaxb
  • Camel :: YAML DSL
  • Camel :: YAML DSL :: Deserializers
  • Camel :: YAML DSL :: Maven Plugins
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@davsclaus davsclaus added this to the 4.22.1 milestone Sep 12, 2026
@davsclaus
davsclaus merged commit adf99e3 into camel-4.22.x Sep 12, 2026
4 checks passed
@davsclaus
davsclaus deleted the quick-fix/netty-4.2.18-4.22.x branch September 12, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants