Out-of-bounds Write Affecting gcc package, versions [4.3.0,4.3.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.79% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GCC-2333702
  • published12 Jan 2022
  • disclosed17 Mar 2008
  • creditUnknown

Introduced: 17 Mar 2008

CVE-2008-1367  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade gcc to version 4.3.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write 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.

References

CVSS Base Scores

version 3.1