Juniper was using a known flawed random number generator as the foundation for cryptographic operations in NetScreen’s ScreenOS and the safeguards it put in place were ineffective.
Source: The Juniper VPN backdoor: buggy code with a dose of shady NSA crypto | CSO Online