CVE-2024-6640

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductFreeBSD
PublishedAug 12, 2024
First seenAug 12, 2024
Weakness typeCWE-276CWE-276

How to fix

Update
  • FreeBSD FreeBSDp3, p9, p5 or later

Affected products

ProductAffected versionsFixed in
FreeBSD FreeBSD14.1-RELEASE ≤ v < p3, 14.0-RELEASE ≤ v < p9, 13.3-RELEASE ≤ v < p5p3, p9, p5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.