Description
A protection mechanism failure in the userspace firewall of the NetBird client (client/firewall/uspfilter) in NetBird versions 0.55.0 through 0.74.6 allows an attacker who controls an enrolled peer to bypass the access control rules of another peer by sending IP-fragmented packets. The packet filter returned an allow verdict for any IPv4 fragment, and for any IPv6 packet carrying a Fragment extension header, before evaluating the ACL rules. This applied to the leading fragment as well as to continuation fragments, so no part of a fragmented datagram was filtered and ports denied by policy could be reached. The userspace filter is the packet filter wherever the client does not program the kernel firewall, which includes the Android and iOS apps. The issue is fixed in version 0.74.7, in the Android app from version 0.6.0 and in the iOS app from version 0.3.3, which evaluate fragments against the same ACL rules as unfragmented packets.
Vendor solution
Upgrade the NetBird client to version 0.74.7 or later, the Android app to version 0.6.0 or later, and the iOS app to version 0.3.3 or later. In these versions the userspace firewall decodes the transport header of the leading fragment, evaluates it against the same connection tracking and ACL rules as an unfragmented packet, applies that verdict to the continuation fragments of the same datagram, and drops fragments whose leading fragment was denied, never seen, or overlapped (pull request #6781).
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- Low impact
Weakness type (CWE)
- CWE-693 Protection Mechanism Failure
References
- github.com/netbirdio/netbird/security/advisories/GHSA-48m5-pfp4-gcm9 vendor advisory
- github.com/netbirdio/netbird/pull/6781 patch
- github.com/netbirdio/netbird/releases/tag/v0.74.7
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.