Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler Collection (GCC) version 4.6, 4.7, 4.8, 4.9, 5 before 5.5, and 6 before 6.4 will generate instruction sequences that clobber the status flag of the RDRAND and RDSEED intrinsics before it can be read, potentially causing failures of these instructions to go unreported. This could potentially lead to less randomness in random number generation.
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
Link | Tags |
---|---|
http://openwall.com/lists/oss-security/2017/07/27/2 | third party advisory mailing list |
http://www.securityfocus.com/bid/100018 | third party advisory vdb entry |
https://access.redhat.com/errata/RHSA-2018:0849 | vendor advisory |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180 | vendor advisory issue tracking |
https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01349.html | mailing list |