FreeBSD
pf silently ignores certain rules
A regression in the way hashes were calculated caused rules containing the address range syntax (x.x.x.x - y.y.y.y) that only differ in the address range(s) involved to be silently dropped as duplicates. Only the first of such rules is actually loaded into pf. Ranges expressed using the address[/mask-bits] syntax were not affected. Some keywords representing actions taken on a packet-matching rule, such as 'log', 'return tll', or 'dnpipe', may suffer from the same issue. It is unlikely that users have such configurations, as these rules would always be redundant. Affected rules are silently ignored, which can lead to unexpected behaviour including over- and underblocking.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 15.0-RELEASE, < p5
- >= 14.4-RELEASE, < p1
- >= 14.3-RELEASE, < p10
Fixed in p5, p1, p10
Mitigation
Upgrade FreeBSD to p5 or p1 or p10 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:09.pf.asc
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.