CVE-2016-1902
Description
The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x without the paragonie/random_compat library and the openssl_random_pseudo_bytes function fails, which makes it easier for attackers to defeat cryptographic protection mechanisms via unspecified vectors.
How to fix
- symfony/security-core2.6.13, 2.7.9 or later
- symfony/security2.3.37, 2.6.13, 2.7.9 or later
- symfony/symfony2.3.37, 2.6.13, 2.7.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | v ≤ 2.3.36, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 2.6.7, 2.6.8, 2.6.9, 2.6.10, 2.6.11, 2.6.12, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8 | — |
| debian debian_linux | 8.0 | — |
| symfony/security-corePackagist | 2.4.0 ≤ v < 2.6.13, 2.7.0 ≤ v < 2.7.9 | 2.6.13, 2.7.9 |
| symfony/securityPackagist | 2.3.0 ≤ v < 2.3.37, 2.4.0 ≤ v < 2.6.13, 2.7.0 ≤ v < 2.7.9 | 2.3.37, 2.6.13, 2.7.9 |
| symfony/symfonyPackagist | 2.3.0 ≤ v < 2.3.37, 2.4.0 ≤ v < 2.6.13, 2.7.0 ≤ v < 2.7.9 | 2.3.37, 2.6.13, 2.7.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.