CVE-2021-47609
Arm SCPI firmware Linux Kernel Buffer Overflow Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scpi: Fix string overflow in SCPI genpd driver Without the bound checks for scpi_pd->name, it could result in the buffer overflow when copying the SCPI device name from the corresponding device tree node as the name string is set at maximum size of 30. Let us fix it by using devm_kasprintf so that the string buffer is allocated dynamically.
INFO
Published Date :
June 19, 2024, 3:15 p.m.
Last Modified :
Nov. 21, 2024, 6:36 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
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-47609
.
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-47609
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47609
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.
-
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/4694b1ec425a2d20d6f8ca3db594829fdf5f2672 Added Reference https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538 Added Reference https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb Added Reference https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719 Added Reference https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945 Added Reference https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e Added Reference https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d -
Initial Analysis by [email protected]
Oct. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672 No Types Assigned https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672 Patch Changed Reference Type https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538 No Types Assigned https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538 Patch Changed Reference Type https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb No Types Assigned https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb Patch Changed Reference Type https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719 No Types Assigned https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719 Patch Changed Reference Type https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945 No Types Assigned https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945 Patch Changed Reference Type https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e No Types Assigned https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e Patch Changed Reference Type https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d No Types Assigned https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d Patch Added CWE NIST CWE-120 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.9.294 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.259 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.222 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.11 *cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 19, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scpi: Fix string overflow in SCPI genpd driver Without the bound checks for scpi_pd->name, it could result in the buffer overflow when copying the SCPI device name from the corresponding device tree node as the name string is set at maximum size of 30. Let us fix it by using devm_kasprintf so that the string buffer is allocated dynamically. Added Reference kernel.org https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945 [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-47609
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-47609
weaknesses.