Improper random number generation in Symfony
Multiple products
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 1.907%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:sensiolabs | symfony | Affected versions:≤ 2.3.36Show full version range for symfony2.6.02.6.12.6.102.6.112.6.122.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.8 |
| Vendor:Debian | debian linux | Affected versions: 8.0 |
| Vendor:Debian | php-symfony-assetEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-browser-kitEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-class-loaderEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-configEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-consoleEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-css-selectorEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-debugEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
| Vendor:Debian | php-symfony-debug-bundleEnvironments (4)
| Affected versions: < 2.7.9+dfsg-1 |
1–10 of 44 · Page 1 of 5
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCVE-2016-1902 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences