GitHub advisory · Maven
Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking
Description
An attacker can bypass IPv6 subnet rules due to an incorrect masking operation in IpSubnetFilterRule.compareTo(). Valid public IP addresses can bypass the restrictions.
io.netty.handler.ipfilter.IpSubnetFilterRule#compareTo(java.net.InetSocketAddress) method performs a bitwise AND between the incoming IP address and the configured networkAddress, instead of the subnetMask.
Access Control Bypass. Attacker can bypass IpSubnetFilter IPv6 access controls.
Manual fix · Maven
Sources