CVE-2024-26673: netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations

Description

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.

Classification

CVE ID: CVE-2024-26673

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.41% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/f549f340c91f08b938d60266e792ff7748dae483
https://git.kernel.org/stable/c/65ee90efc928410c6f73b3d2e0afdd762652c09d
https://git.kernel.org/stable/c/b775ced05489f4b77a35fe203e9aeb22f428e38f
https://git.kernel.org/stable/c/0f501dae16b7099e69ee9b0d5c70b8f40fd30e98
https://git.kernel.org/stable/c/cfe3550ea5df292c9e2d608e8c4560032391847e
https://git.kernel.org/stable/c/38cc1605338d99205a263707f4dde76408d3e0e8
https://git.kernel.org/stable/c/8059918a1377f2f1fff06af4f5a4ed3d5acd6bc4

Timeline