VDB
EN
HIGH 8.1

GHSA-3qp7-7mw8-wx86

Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking

상세

### Summary An attacker can bypass IPv6 subnet rules due to an incorrect masking operation in IpSubnetFilterRule.compareTo(). Valid public IP addresses can bypass the restrictions.

### Details `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.

### Impact Access Control Bypass. Attacker can bypass IpSubnetFilter IPv6 access controls.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Maven / io.netty:netty-handler
최초 영향 버전: 4.2.0.Final 수정 버전: 4.2.15.Final
수정 # pom.xml: bump <version>4.2.15.Final</version> for io.netty:netty-handler
Maven / io.netty:netty-handler
최초 영향 버전: 0 수정 버전: 4.1.135.Final
수정 # pom.xml: bump <version>4.1.135.Final</version> for io.netty:netty-handler

참고