Information Exposure Affecting gcc-7 package, versions *


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.74% (86th 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 IDSNYK-UBUNTU2004-GCC7-1192798
  • published31 Aug 2023
  • disclosed22 May 2019

Introduced: 22 May 2019

CVE-2018-12886  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 gcc-7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gcc-7 package and not the gcc-7 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under certain circumstances) generate instruction sequences when targeting ARM targets that spill the address of the stack protector guard, which allows an attacker to bypass the protection of -fstack-protector, -fstack-protector-all, -fstack-protector-strong, and -fstack-protector-explicit against stack overflow by controlling what the stack canary is compared against.