- Home
- Vulnerabilities
- CVE-2024-42070
CVE-2024-42070
netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Low
28/100
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers.
Affected products and versions
Linux (9 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 3.13 |
— | CNA (vendor or assigner) |
| Linux kernel | before 3.13 (excluded) |
— | NVD |
| Linux kernel | from 3.14 (included) to 4.19.317 (excluded) |
— | NVD |
| Linux kernel | from 4.20 (included) to 5.4.279 (excluded) |
— | NVD |
| Linux kernel | from 5.5 (included) to 5.10.221 (excluded) |
— | NVD |
| Linux kernel | from 5.11 (included) to 5.15.162 (excluded) |
— | NVD |
| Linux kernel | from 5.16 (included) to 6.1.97 (excluded) |
— | NVD |
| Linux kernel | from 6.2 (included) to 6.6.37 (excluded) |
— | NVD |
| Linux kernel | from 6.7 (included) to 6.9.8 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4Patch
- https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752fPatch
- https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980fPatch
- https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8Patch
- https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cfPatch
- https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005cPatch
- https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564Patch
- https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-401 · Autre (CWE-401)