Vulnerability scanners may flag ESXi hosts with a "UDP Source Port Pass Firewall" or "Ruleset Bypass" vulnerability.
Example vulnerability scanner output:"Your firewall policy seems to allow UDP packets with a specific source port (for example, port 53) to pass through while it blocks UDP packets to the same destination ports but with a random source port."
VMware vSphere ESXi 7.0
VMware vSphere ESXi 8.0
This behaviour is working as designed, as the ESXi hypervisor utilizes a stateless rather than a stateful firewall. To ensure reliable DNS functionality, the firewall is designed to permit UDP traffic originating from source port 53 (DNS).
The ESXi DNS client uses 'high' ephemeral ports (greater than port 49152) for DNS queries. To further secure your environment and mitigate scanner flags, follow these recommendations: