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.
| Date Added | Due Date | Vulnerability Name | Required Action |
|---|---|---|---|
| N/A |
| Type | Version | Base score | Base severity | Vector |
|---|---|---|---|---|
| Primary | 3.0 | 7.5 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Primary | 2.0 | 5.0 | MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| Hyperlink | Source | Resource |
|---|---|---|
| http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails | cve@mitre.org | Vendor Advisory |
| http://www.debian.org/security/2016/dsa-3588 | cve@mitre.org | N/A |
| https://github.com/symfony/symfony/pull/17359 | cve@mitre.org | Patch |
| https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/ | cve@mitre.org | N/A |
| http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails | af854a3a-2127-422b-91ae-364da2661108 | Vendor Advisory |
| http://www.debian.org/security/2016/dsa-3588 | af854a3a-2127-422b-91ae-364da2661108 | N/A |
| https://github.com/symfony/symfony/pull/17359 | af854a3a-2127-422b-91ae-364da2661108 | Patch |
| https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/ | af854a3a-2127-422b-91ae-364da2661108 | N/A |