In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.security:spring-security-core to version 7.1.3 or higher.
org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.
Affected versions of this package are vulnerable to User Impersonation in the IpInetAddressMatcher class, whose matches method compares the masked leading bytes of the remote and configured addresses without first checking they belong to the same address family. An attacker can satisfy an IP-based access rule from outside the intended range when the remote address is presented in a different family than the configured CIDR, for example an IPv4-mapped IPv6 address matching an IPv6 range, because a 4-byte and a 16-byte address are compared by prefix. This applies to applications using IpAddressMatcher, IpAddressServerWebExchangeMatcher, or InetAddressMatchers for IP access control where the network stack can present a remote address in a different family than the configured range.