CVE-2016-1902
Severity CVSS v4.0:
Pending analysis
Type:
CWE-310
Cryptographic Issues
Publication date:
01/06/2016
Last modified:
12/04/2025
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.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 2.3.36 (including) | |
cpe:2.3:a:sensiolabs:symfony:2.6.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.1:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.2:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.3:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.4:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.5:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.6:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.7:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.8:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.9:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.10:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.11:*:*:*:*:*:*:* | ||
cpe:2.3:a:sensiolabs:symfony:2.6.12:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails
- http://www.debian.org/security/2016/dsa-3588
- https://github.com/symfony/symfony/pull/17359
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails
- http://www.debian.org/security/2016/dsa-3588
- https://github.com/symfony/symfony/pull/17359
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/