Vulnerability in GNU Gcc
CVE-2008-1367
gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i386, which can prevent the direction flag (DF) from being reset in violation of ABI conventions and cause data to be copied in the wrong direction during signal handling in the Linux kernel, which might allow context-dependent attackers to trigger memory corruption. NOTE: this issue was originally reported for CPU consumption in SBCL.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.028, 86.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Gcc — versions 4.3
Weakness classification (CWE)
References
- secunia.com/advisories/30962 (third-party-advisory)
- [gcc-patches] 20080307 Re: [PATCH, i386]: Emit cld instruction when stringops are used (mailing-list)
- [gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used (mailing-list)
- [gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used (mailing-list)
- bugs.debian.org/cgi-bin/bugreport.cgi
- [linux-kernel] 20080305 Linux doesn't follow x86/x86-64 ABI wrt direction flag (mailing-list, Exploit)
- secunia.com/advisories/30850 (third-party-advisory)
- secunia.com/advisories/30116 (third-party-advisory)
- RHSA-2008:0233 (vendor-advisory)
- secunia.com/advisories/30110 (third-party-advisory)