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 re...
HighCVSS 7.5
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU gcc | = 4.3 | No fix listed |
| debian/glibc(Debian:12) | < 2.7-8 | 2.7-8 |
| debian/glibc(Debian:13) | < 2.7-8 | 2.7-8 |
| debian/glibc(Debian:14) | < 2.7-8 | 2.7-8 |
References
- bugs.debian.org
- [gcc-patches] 20080306 [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
- [gcc-patches] 20080307 Re: [PATCH, i386]: Emit cld instruction when stringops are used mailing-list
- git.kernel.org
- SUSE-SA:2008:030 vendor-advisory
- SUSE-SA:2008:031 vendor-advisory
- SUSE-SA:2008:032 vendor-advisory
- [Security-announce] 20080728 VMSA-2008-00011 Updated ESX service console packages for Samba and vmnix mailing-list
- [linux-kernel] 20080305 Linux doesn't follow x86/x86-64 ABI wrt direction flag exploit mailing-list
- lwn.net
- [git-commits-head] 20080307 x86: clear DF before calling signal handler mailing-list
- RHSA-2008:0508 vendor-advisory
- 30110 third-party-advisory
- 30116 third-party-advisory
- 30818 third-party-advisory
- 30850 third-party-advisory
- 30890 third-party-advisory
- 30962 third-party-advisory
- 31246 third-party-advisory
- RHSA-2008:0211 vendor-advisory
- RHSA-2008:0233 vendor-advisory
- 29084 vdb-entry
- ADV-2008-2222 vdb-entry
- bugzilla.redhat.com
- gcc-cld-dos(41340) vdb-entry
- oval:org.mitre.oval:def:11108 signature vdb-entry
- Debian Security Tracker CVE-2008-1367 vendor-advisory
- bugs.debian.org issue-tracking