CVE-2007-4311 Weak cryptography in n/a
Attackers can predict random number generator output due to incorrect buffer reseeding in the Linux kernel, compromising cryptographic security.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-4311?
CVE-2007-4311 is a medium-severity vulnerability in Linux kernel, published on 13 Aug 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.
Weakness: CWE-310
Which versions are affected by CVE-2007-4311?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2007-4311?
Upgrade to a fixed version.
Is CVE-2007-4311 being exploited?
There is no known exploitation of CVE-2007-4311 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as GHSA-7p4g-p325-hv5m.