Latent_entropy Vulnerability in gcc-plugins

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002294: gcc-plugins: latent_entropy: use /dev/urandom. Affects Kernel versions >= 38addce8b600ca335dc86fa3d48c890f1c6fa1f4, < 8b1010a6ae05fd52f6e989c05083dc134e4a3671. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The gcc-plugins package is a collection of plugins for the GNU Compiler Collection (GCC). These plugins provide additional functionality and analysis capabilities to the compiler. The latent_entropy plugin, included in gcc-plugins, is designed to improve the entropy of random number generation in the Linux Kernel. However, a vulnerability has been discovered in the plugin that affects the way it uses the /dev/urandom device.

Vulnerability Detail

The latent_entropy vulnerability in gcc-plugins arises from the improper use of the /dev/urandom device. The plugin is intended to enhance the entropy of random number generation in the Linux Kernel, but it fails to properly utilize the /dev/urandom device for this purpose. This vulnerability could potentially lead to weakened entropy and compromised security in systems relying on the affected version of the Linux Kernel. It is important to note that the actual impact and attack plausibility of this vulnerability have not yet been proven.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The latent_entropy vulnerability in gcc-plugins poses a potential risk to the security of systems relying on the affected version of the Linux Kernel. It is crucial to update the kernel to the recommended version or later to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

gcc-plugins is a collection of plugins for the GNU Compiler Collection (GCC) that provide additional functionality and analysis capabilities to the compiler.

The latent_entropy plugin is a component of gcc-plugins that aims to improve the entropy of random number generation in the Linux Kernel.

The impact of this vulnerability could result in weakened entropy and compromised security in systems relying on the affected version of the Linux Kernel.

No, the actual impact and attack plausibility of this vulnerability have not yet been proven.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.239 or later, which includes the necessary fix for the latent_entropy plugin.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback