Insufficient Entropy Affecting gcc-8 package, versions <8.3.0-26ubuntu1~18.04


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.37% (73rd 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 Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-GCC8-1168600
  • published10 Sept 2020
  • disclosed2 Sept 2019

Introduced: 2 Sep 2019

CVE-2019-15847  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 gcc-8 to version 8.3.0-26ubuntu1~18.04 or higher.

NVD Description

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

The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.

CVSS Base Scores

version 3.1