netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 857b46027d6f91150797295752581b7155b9d0e1 · < 38cc1605338d99205a263707f4dde76408d3e0e8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
- Disallow families other than NFPROTO_{IPV4,IPV6,INET}. - Disallow layer 4 protocol with no ports, since destination port is a mandatory attribute for this object.
From the CVE record · Linux
The Linux kernel's netfilter nft_ct component did not properly validate layer 3 and layer 4 protocol numbers in custom expectations. This allowed custom expectations to specify unsupported families or layer 4 protocols without ports, even though a destination port is required. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with netfilter nft_ct should check their exposure; affected versions are not specified.