{"id":"CVE-2024-42269","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-08-17T09:15:08.177","lastModified":"2026-06-17T07:49:08.553","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().\n\nip6table_nat_table_init() accesses net->gen->ptr[ip6table_nat_net_ops.id],\nbut the function is exposed to user space before the entry is allocated\nvia register_pernet_subsys().\n\nLet's call register_pernet_subsys() before xt_register_template()."},{"lang":"es","value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: iptables: corrige el potencial null-ptr-deref en ip6table_nat_table_init(). ip6table_nat_table_init() accede a net-&gt;gen-&gt;ptr[ip6table_nat_net_ops.id], pero la función está expuesta al espacio del usuario antes de que la entrada se asigne a través de Register_pernet_subsys(). Llamemos a Register_pernet_subsys() antes de xt_register_template()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv6/netfilter/ip6table_nat.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","lessThan":"419ee6274c5153b89c4393c1946faa4c3cad4f9e","versionType":"git","status":"affected"},{"version":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","lessThan":"91b6df6611b7edb28676c4f63f90c56c30d3e601","versionType":"git","status":"affected"},{"version":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","lessThan":"e85b9b6a87be4cb3710082038b677e97f2389003","versionType":"git","status":"affected"},{"version":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","lessThan":"87dba44e9471b79b255d0736858a897332db9226","versionType":"git","status":"affected"},{"version":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","lessThan":"c22921df777de5606f1047b1345b8d22ef1c0b34","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv6/netfilter/ip6table_nat.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","versionType":"semver","status":"unaffected"},{"version":"5.15.165","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.104","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.45","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.10.4","lessThanOrEqual":"6.10.*","versionType":"semver","status":"unaffected"},{"version":"6.11","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T16:12:17.928163Z","id":"CVE-2024-42269","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-476"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.104","matchCriteriaId":"47935D4A-35BC-4583-8B6B-49D49E8D999C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.45","matchCriteriaId":"6ED8FBDF-48EE-4FEB-8B1A-CFF4FBCB27BF"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.10.4","matchCriteriaId":"1F9FECDC-6CB8-41E5-B32A-E46776100D9C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*","matchCriteriaId":"8B3CE743-2126-47A3-8B7C-822B502CF119"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/419ee6274c5153b89c4393c1946faa4c3cad4f9e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/87dba44e9471b79b255d0736858a897332db9226","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/91b6df6611b7edb28676c4f63f90c56c30d3e601","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c22921df777de5606f1047b1345b8d22ef1c0b34","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e85b9b6a87be4cb3710082038b677e97f2389003","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}