Skip to content
OpenAdvisories
Unscored CVE-2008-1367 EUVD-2008-1374GHSA-mh8h-6q9x-8j58

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 …

Published Mar 17, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.7-8 —
Debian 13 glibc 2.7-8 —
Debian 12 glibc 2.7-8 —
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-53.1.19.el5 RHSA-2008:0233
RHEL 4 kernel +10 2.6.9-67.0.20.EL RHSA-2008:0508
RHEL 3 kernel +8 2.4.21-57.EL RHSA-2008:0211

Advisories 3

References