CVE-2016-1902
The nextBytes function in the SecureRandom class in Symfony before 2.3 ...
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-310
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/security | >=2.3.0, <2.3.37>=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.5.0, <2.6.0>=2.6.0, <2.6.13+1 more | 2.3.372.6.132.7.9 |
| Composer (PHP) | symfony/security-core | >=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.4.0, <2.5.0>=2.5.0, <2.6.0>=2.6.0, <2.6.13 | 2.6.132.7.9 |
| Composer (PHP) | symfony/symfony | >=2.3.0, <2.3.37>=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.4.0, <2.5.0>=2.5.0, <2.6.0+1 more | 2.3.372.6.132.7.9 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | 2.7.9+dfsg-1 |
| 12 | symfony | 2.7.9+dfsg-1 |
| 13 | symfony | 2.7.9+dfsg-1 |
| 14 | symfony | 2.7.9+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 2.7.9+dfsg-1 |
References
- symfony.com http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails
- www.debian.org http://www.debian.org/security/2016/dsa-3588
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2016-1902.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-1902.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-1902.yaml
- github.com https://github.com/symfony/symfony/pull/17359
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-1902
- symfony.com https://symfony.com/cve-2016-1902
- www.landaire.net https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom
- www.landaire.net https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.