CVE-2021-47397
SCTP Linux null-ptr-deref
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb We should always check if skb_header_pointer's return is NULL before using it, otherwise it may cause null-ptr-deref, as syzbot reported: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:sctp_rcv_ootb net/sctp/input.c:705 [inline] RIP: 0010:sctp_rcv+0x1d84/0x3220 net/sctp/input.c:196 Call Trace: <IRQ> sctp6_rcv+0x38/0x60 net/sctp/ipv6.c:1109 ip6_protocol_deliver_rcu+0x2e9/0x1ca0 net/ipv6/ip6_input.c:422 ip6_input_finish+0x62/0x170 net/ipv6/ip6_input.c:463 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:472 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ipv6_rcv+0x28c/0x3c0 net/ipv6/ip6_input.c:297
INFO
Published Date :
May 21, 2024, 3:15 p.m.
Last Modified :
Dec. 24, 2024, 4:06 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47397
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47397
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47397
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.14.249 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.151 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.71 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.14.10 *cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d No Types Assigned https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d Patch Changed Reference Type https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d No Types Assigned https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d Patch Changed Reference Type https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b No Types Assigned https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b Patch Changed Reference Type https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b No Types Assigned https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b Patch Changed Reference Type https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 No Types Assigned https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 Patch Changed Reference Type https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 No Types Assigned https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 Patch Changed Reference Type https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 No Types Assigned https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 Patch Changed Reference Type https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 No Types Assigned https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 Patch Changed Reference Type https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 No Types Assigned https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 Patch Changed Reference Type https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 No Types Assigned https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 Patch Changed Reference Type https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f No Types Assigned https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f Patch Changed Reference Type https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f No Types Assigned https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d Added Reference https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b Added Reference https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 Added Reference https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 Added Reference https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 Added Reference https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb We should always check if skb_header_pointer's return is NULL before using it, otherwise it may cause null-ptr-deref, as syzbot reported: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:sctp_rcv_ootb net/sctp/input.c:705 [inline] RIP: 0010:sctp_rcv+0x1d84/0x3220 net/sctp/input.c:196 Call Trace: <IRQ> sctp6_rcv+0x38/0x60 net/sctp/ipv6.c:1109 ip6_protocol_deliver_rcu+0x2e9/0x1ca0 net/ipv6/ip6_input.c:422 ip6_input_finish+0x62/0x170 net/ipv6/ip6_input.c:463 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:472 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ipv6_rcv+0x28c/0x3c0 net/ipv6/ip6_input.c:297 Added Reference kernel.org https://git.kernel.org/stable/c/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47397
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47397
weaknesses.