Vulnerability Details : CVE-2023-4039
**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains
that target AArch64 allows an attacker to exploit an existing buffer
overflow in dynamically-sized local variables in your application
without this being detected. This stack-protector failure only applies
to C99-style dynamically-sized local variables or those created using
alloca(). The stack-protector operates as intended for statically-sized
local variables.
The default behavior when the stack-protector
detects an overflow is to terminate your application, resulting in
controlled loss of availability. An attacker who can exploit a buffer
overflow without triggering the stack-protector might be able to change
program flow control to cause an uncontrolled loss of availability or to
go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.
Vulnerability category: Overflow
Products affected by CVE-2023-4039
- cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:arm64:*
Exploit prediction scoring system (EPSS) score for CVE-2023-4039
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-4039
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.8
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
2.2
|
2.5
|
Arm Limited | |
4.8
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
2.2
|
2.5
|
NIST | |
4.8
|
MEDIUM | AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
N/A
|
N/A
|
Oracle:CPUOct2023 |
CWE ids for CVE-2023-4039
-
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.Assigned by: arm-security@arm.com (Secondary)
References for CVE-2023-4039
-
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf
GCC's -fstack-protector fails to guard dynamic stack allocations on ARM64 · Advisory · metaredteam/external-disclosures · GitHubExploit;Patch;Third Party Advisory
-
https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
GCC Stack Protector Vulnerability AArch64Exploit;Patch;Third Party Advisory
Jump to