pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[fix][sec] Update reactor-netty-http in Azure Data Explorer connector to remediate CVE-2025-22227

Open guptas6est opened this issue 2 months ago • 2 comments

Fixes #xyz

Main Issue: #xyz

PIP: #xyz

Motivation

This PR removes the transitive dependency reactor-netty-http from the Azure Data Explorer module. The module was bringing in io.projectreactor.netty classes that expose the project to CVE-2025-22227, affecting older versions of Reactor Netty through unsafe HTTP handling behavior.

Modifications

Added an exclusion block under the Azure Data Explorer (kusto-ingest) dependency.

Verifying this change

  • [x] Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • [x] Dependencies (add or upgrade a dependency)
  • [ ] The public API
  • [ ] The schema
  • [ ] The default values of configurations
  • [ ] The threading model
  • [ ] The binary protocol
  • [ ] The REST endpoints
  • [ ] The admin CLI options
  • [ ] The metrics
  • [ ] Anything that affects deployment

Documentation

  • [ ] doc
  • [ ] doc-required
  • [x] doc-not-needed
  • [ ] doc-complete

Matching PR in forked repository

PR in forked repository: https://github.com/Nordix/pulsar/pull/15

guptas6est avatar Nov 07 '25 10:11 guptas6est

This PR removes the transitive dependency reactor-netty-http from the Azure Data Explorer module. The module was bringing in io.projectreactor.netty classes that expose the project to CVE-2025-22227, affecting older versions of Reactor Netty through unsafe HTTP handling behavior.

Removing transitive dependencies could break some functionality. The preferred approach would be to upgrade the dependency that pulls in a dependency (kusto.sdk.version in this case, https://central.sonatype.com/artifact/com.microsoft.azure.kusto/kusto-data/versions). An alternative approach would be to enforce reactor-netty-http version to a compatible version that includes the fix.

lhotari avatar Nov 07 '25 11:11 lhotari

There's an emulator for Kusto, but unfortunately there's no tests that validate the behavior with the emulator. For TestContainers Java, there's no existing module. For .NET there's a Kusto module.

@asaharn could you please help address this CVE since you were the original contributor of this connector (#22006)?

lhotari avatar Nov 07 '25 11:11 lhotari