{"id":"CVE-2023-6040","state":"PUBLISHED","title":"An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family)","description":"An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family); While creating a new netfilter table, lack of a safeguard against invalid nf_tables family (pf) values within `nf_tables_newtable` function enables an attacker to achieve out-of-bounds access.","publishedAt":"2024-01-12T01:37:45.387Z","updatedAt":"2025-06-17T21:09:18.328Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["The Linux Kernel Organization linux"],"affected":[{"vendor":"The Linux Kernel Organization","product":"linux","packageName":"linux","versions":[{"version":"0","status":"affected","lessThan":"5.18-rc1","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","platforms":["Linux"]}],"references":["https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6040","https://www.openwall.com/lists/oss-security/2024/01/12/1","http://www.openwall.com/lists/oss-security/2024/01/12/1","http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html","https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/6xxx/CVE-2023-6040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-6040","state":"PUBLISHED","datePublished":"2024-01-12T01:37:45.387Z","dateUpdated":"2025-06-17T21:09:18.328Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2023-11-08T20:12:50.288Z"},"containers":{"cna":{"title":"An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family)","descriptions":[{"lang":"en","value":"An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family); While creating a new netfilter table, lack of a safeguard against invalid nf_tables family (pf) values within `nf_tables_newtable` function enables an attacker to achieve out-of-bounds access."}],"affected":[{"vendor":"The Linux Kernel Organization","product":"linux","packageName":"linux","versions":[{"version":"0","status":"affected","lessThan":"5.18-rc1","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","platforms":["Linux"]}],"references":[{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6040","tags":["issue-tracking"]},{"url":"https://www.openwall.com/lists/oss-security/2024/01/12/1","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/12/1"},{"url":"http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2024-06-27T12:12:45.871Z"},"workarounds":[{"lang":"en","value":"Disabling unprivileged user namespaces mitigates the issue."}],"credits":[{"lang":"en","type":"finder","value":"Lin Ma from Ant Security Light-Year Lab & ZJU"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6040","tags":["issue-tracking","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2024/01/12/1","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/12/1","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T08:21:17.118Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-6040","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-01-12T16:55:56.231770Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-17T21:09:18.328Z"}}]}}}