CVE-2026-47843
Patch Available.
This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.
Overview
Reactor Netty is the reactive networking layer of Project Reactor: it wraps Netty in a Reactive Streams API and supplies the non-blocking HTTP client and server that Spring WebFlux runs on. The reactor-netty-core module provides the core functionality of the library, the transport primitives that clients such as HttpClient and TcpClient build on, including their DNS name resolution.
A resource injection vulnerability (CVE-2026-47843) has been identified in the DNS resolver configuration of reactor-netty-core, which can cause a client to reuse a DNS resolver built for a different configuration. When an application dynamically creates multiple clients that rely on different custom hosts file resolvers, traffic can be routed to unintended destinations.
Per OWASP: This attack consists of changing resource identifiers used by an application in order to perform a malicious task. When an application defines a resource type or location based on user input, such as a file name or port number, this data can be manipulated to execute or access different resources.
This issue affects multiple versions of Reactor Netty.
Details
Module Info
- Product: Reactor Netty
- Affected packages:
io.projectreactor.netty:reactor-netty-core - Affected versions: <=1.0.52, >=1.1.0 <=1.2.18, >=1.3.0 <=1.3.6
- GitHub repository: https://github.com/reactor/reactor-netty
- Published packages: https://central.sonatype.com/artifact/io.projectreactor.netty/reactor-netty-core
- Package manager: Maven
- Fixed in:
- OSS Reactor Netty 1.3.7
- NES for Project Reactor v1.0.51, v1.2.20
Vulnerability Info
This Low-severity vulnerability is found in the io.projectreactor.netty:reactor-netty-core package in multiple versions of Reactor Netty.
NameResolverProvider holds the DNS resolver settings a client is configured with through resolver(...), including a custom HostsFileEntriesResolver that maps host names to addresses. Reactor Netty compares these providers to decide whether a resolver can be reused, but NameResolverProvider#equals and NameResolverProvider#hashCode leave the hostsFileEntriesResolver field out:
return Objects.equals(bindAddressSupplier, that.bindAddressSupplier) &&
...
Objects.equals(dnsAddressResolverGroupProvider, that.dnsAddressResolverGroupProvider) &&
Objects.equals(loggingFactory, that.loggingFactory) &&
Objects.equals(loopResources, that.loopResources) &&
...
Objects.equals(searchDomains, that.searchDomains);
Two providers that differ only in their hosts file resolver are therefore treated as equal and hash to the same value. Both reuse paths depend on that comparison. ClientTransport#resolver(Consumer) returns the client unchanged, keeping its existing provider and that provider's hosts file resolver, when the new provider is equal to the current one:
NameResolverProvider provider = builder.build();
if (provider.equals(configuration().nameResolverProvider)) {
@SuppressWarnings("unchecked")
T dup = (T) this;
return dup;
}
ClientTransportConfig also shares resolver groups across clients through a static cache keyed only on the hash of the provider, the loop resources and the native transport flag:
static final ConcurrentMap<Integer, DnsAddressResolverGroup> RESOLVERS_CACHE = new ConcurrentHashMap<>();
static DnsAddressResolverGroup getOrCreateResolver(
NameResolverProvider nameResolverProvider,
LoopResources loopResources,
boolean preferNative) {
return MapUtils.computeIfAbsent(RESOLVERS_CACHE, Objects.hash(nameResolverProvider, loopResources, preferNative),
key -> nameResolverProvider.newNameResolverGroup(loopResources, preferNative));
}
When an application creates several HttpClient or TcpClient instances that use different custom HostsFileEntriesResolver implementations, a later client can receive the resolver group created for an earlier one. Its host names are then resolved with the other client's hosts file entries, and its connections go to addresses the application did not configure for it. The issue only arises when an application configures clients with different custom HostsFileEntriesResolver implementations; clients that keep the default hosts file resolution are not affected.
Mitigation
Only recent versions of Reactor Netty are community-supported. Older release lines are End-of-Life and will not receive community updates addressing this issue. For more information, see here.
Users of the affected components should apply one of the following mitigations:
- Upgrade Reactor Netty to a currently supported release containing the fix.
- Leverage a commercial support partner like HeroDevs for post-EOL security support.
