CVE-2024-6640
Description
In ICMPv6 Neighbor Discovery (ND), the ID is always 0. When pf is configured to allow ND and block incoming Echo Requests, a crafted Echo Request packet after a Neighbor Solicitation (NS) can trigger an Echo Reply. The packet has to come from the same host as the NS and have a zero as identifier to match the state created by the Neighbor Discovery and allow replies to be generated. ICMPv6 packets with identifier value of zero bypass firewall rules written on the assumption that the incoming packets are going to create a state in the state table.
How to fix
- FreeBSD FreeBSDp3, p9, p5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FreeBSD FreeBSD | 14.1-RELEASE ≤ v < p3, 14.0-RELEASE ≤ v < p9, 13.3-RELEASE ≤ v < p5 | p3, p9, p5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.