Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-4039— GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64

Quick assessment

Affected
Arm Ltd Arm GNU Toolchain
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GCC是一个 GNU 编译器集合。主要用于编译 C 和 C++ 语言。 GCC存在安全漏洞,该漏洞源于存在缓冲区溢出,可能导致可用性不受控制的损失或进一步影响机密性或完整性。

CVSS 4.8 · Medium EPSS 0.76% · P54

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
Arm Ltd Arm GNU Toolchain All versions where option -fstack-protector is used affected
GNU GCC All versions of GCC that target AArch64 when option -fstack-protector is used affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-4039

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64
Source: CVE Program / CVE List V5
Vulnerability Description
**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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
保护机制失效
Source: CVE Program / CVE List V5
Vulnerability Title
GCC 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GCC是一个 GNU 编译器集合。主要用于编译 C 和 C++ 语言。 GCC存在安全漏洞,该漏洞源于存在缓冲区溢出,可能导致可用性不受控制的损失或进一步影响机密性或完整性。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Arm Ltd Arm GNU Toolchain All versions where option -fstack-protector is used -
GNU GCC All versions of GCC that target AArch64 when option -fstack-protector is used -

II. Public POCs for CVE-2023-4039

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-4039

请登录查看更多情报信息。

Other References for CVE-2023-4039 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-4039

No comments yet


Leave a comment