CVE-2024-35962
published 2024-05-20CVE-2024-35962: In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
13.9th percentile
In the Linux kernel, the following vulnerability has been resolved:
netfilter: complete validation of user input
In my recent commit, I missed that do_replace() handlers
use copy_from_sockptr() (which I fixed), followed
by unsafe copy_from_sockptr_offset() calls.
In all functions, we can perform the @optlen validation
before even calling xt_alloc_table_info() with the following
check:
if ((u64)optlen < (u64)tmp.size + sizeof(tmp))
return -EINVAL;
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 6.1.90-1 (bookworm) | linux 6.1.90-1 (bookworm) |
| linux | linux | >= 0c83842df40f86e529db6842231154772c20edcc < 65acf6e0501ac8880a4f73980d01b5d27648b956 | 65acf6e0501ac8880a4f73980d01b5d27648b956 |
| linux | linux | >= 0f038242b77ddfc505bf4163d4904c1abd2e74d6 < cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05 | cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05 |
| linux | linux | >= 18aae2cb87e5faa9c5bd865260ceadac60d5a6c5 < c760089aa98289b4b88a7ff5a62dd92845adf223 | c760089aa98289b4b88a7ff5a62dd92845adf223 |
| linux | linux | >= 440e948cf0eff32cfe322dcbca3f2525354b159b < 97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7 | 97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7 |
| linux | linux | >= 5.10.215 < 5.10.216 | 5.10.216 |
| linux | linux | >= 5.15.154 < 5.15.156 | 5.15.156 |
| linux | linux | >= 58f2bfb789e6bd3bc24a2c9c1580f3c67aec3018 < 562b7245131f6e9f1d280c8b5a8750f03edfc05c | 562b7245131f6e9f1d280c8b5a8750f03edfc05c |
| linux | linux | >= 6.1.85 < 6.1.87 | 6.1.87 |
| linux | linux | >= 6.6.26 < 6.6.28 | 6.6.28 |
| linux | linux | >= 6.8.5 < 6.8.7 | 6.8.7 |
| linux | linux | >= 81d51b9b7c95e791ba3c1a2dd77920a9d3b3f525 < 89242d9584c342cb83311b598d9e6b82572eadf8 | 89242d9584c342cb83311b598d9e6b82572eadf8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.216-1 | 5.10.216-1 |
| linux | linux_kernel | >= 0 < 6.1.90-1 | 6.1.90-1 |
| linux | linux_kernel | >= 0 < 6.8.9-1 | 6.8.9-1 |
| linux | linux_kernel | >= 0 < 6.8.9-1 | 6.8.9-1 |
| linux | linux_kernel | >= 5.15.154 < 5.15.156 | 5.15.156 |
| linux | linux_kernel | >= 6.1.85 < 6.1.87 | 6.1.87 |
| linux | linux_kernel | >= 6.6.26 < 6.6.28 | 6.6.28 |
| linux | linux_kernel | >= 6.8.5 < 6.8.7 | 6.8.7 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2024-35962: In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do
osv·2024-05-20·CVSS 5.5
CVE-2024-35962 [MEDIUM] CVE-2024-35962: In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do
In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;
GHSA
GHSA-j7rq-227r-98j4: In the Linux kernel, the following vulnerability has been resolved:
netfilter: complete validation of user input
In my recent commit, I missed that
ghsa_unreviewed·2024-05-20
CVE-2024-35962 [MEDIUM] GHSA-j7rq-227r-98j4: In the Linux kernel, the following vulnerability has been resolved:
netfilter: complete validation of user input
In my recent commit, I missed that
In the Linux kernel, the following vulnerability has been resolved:
netfilter: complete validation of user input
In my recent commit, I missed that do_replace() handlers
use copy_from_sockptr() (which I fixed), followed
by unsafe copy_from_sockptr_offset() calls.
In all functions, we can perform the @optlen validation
before even calling xt_alloc_table_info() with the following
check:
if ((u64)optlen < (u64)tmp.size + sizeof(tmp))
return -EINVAL;
Red Hat
kernel: netfilter: complete validation of user input
vendor_redhat·2024-05-20·CVSS 5.5
CVE-2024-35962 [MEDIUM] kernel: netfilter: complete validation of user input
kernel: netfilter: complete validation of user input
In the Linux kernel, the following vulnerability has been resolved:
netfilter: complete validation of user input
In my recent commit, I missed that do_replace() handlers
use copy_from_sockptr() (which I fixed), followed
by unsafe copy_from_sockptr_offset() calls.
In all functions, we can perform the @optlen validation
before even calling xt_alloc_table_info() with the following
check:
if ((u64)optlen < (u64)tmp.size + sizeof(tmp))
return -EINVAL;
A denial of service vulnerability exists in the Linux kernel such that @optlen validation is not called before the function xt_alloc_table_info(), an attacker could craft a payload that results in a crash resulting in loss of availability.
Mitigation: Mitigation for this issue is either not a
Debian
CVE-2024-35962: linux - In the Linux kernel, the following vulnerability has been resolved: netfilter: ...
vendor_debian·2024·CVSS 5.5
CVE-2024-35962 [MEDIUM] CVE-2024-35962: linux - In the Linux kernel, the following vulnerability has been resolved: netfilter: ...
In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;
Scope: local
bookworm: resolved (fixed in 6.1.90-1)
bullseye: resolved (fixed in 5.10.216-1)
forky: resolved (fixed in 6.8.9-1)
sid: resolved (fixed in 6.8.9-1)
trixie: resolved (fixed in 6.8.9-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05chttps://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05chttps://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlhttps://cert-portal.siemens.com/productcert/html/ssa-265688.htmlhttps://cert-portal.siemens.com/productcert/html/ssa-613116.html
2024-05-20
Published