Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Security's InetAddressMatchers utility provides matchInternal() and matchExternal() builders for constructing an InetAddressMatcher that classifies a given IP address as belonging to an internal (private) or external (public) network.
The internal address classification did not recognize the IPv4 and IPv6 "any local" addresses (0.0.0.0 and ::) as internal. As a result, matchExternal() incorrectly classified these addresses as external, and matchInternal() failed to classify them as internal.
Your application may be affected if the following are true:
InetAddressMatchers.matchInternal() or InetAddressMatchers.matchExternal() (directly or via a custom InetAddressMatcher built on top of them), and0.0.0.0 or :: as an internal addressIn that case, an address of 0.0.0.0 or ::, which is typically routed to the local host, could bypass a network-based access control check intended to restrict or block internal network access.
Spring Security:
| Fix version | Availability |
|---|---|
| 7.1.1 | OSS |
| 7.1.0.1 | Enterprise Support Only |
No further mitigation steps are necessary.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy