CVE-2016-1902 (GCVE-0-2016-1902)
Vulnerability from cvelistv5 – Published: 2016-06-01 22:00 – Updated: 2024-08-05 23:10
VLAI
Summary
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.
Severity
7.5 (High)
CWE
- n/a
Assigner
References
4 references
| URL | Tags |
|---|---|
| http://symfony.com/blog/cve-2016-1902-securerando… | x_refsource_CONFIRM |
| https://github.com/symfony/symfony/pull/17359 | x_refsource_CONFIRM |
| https://www.landaire.net/blog/cve-2016-1902-symfo… | x_refsource_MISC |
| http://www.debian.org/security/2016/dsa-3588 | vendor-advisoryx_refsource_DEBIAN |
Date Public
2016-01-18 00:00
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T23:10:39.895Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/symfony/symfony/pull/17359"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/"
},
{
"name": "DSA-3588",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
],
"url": "http://www.debian.org/security/2016/dsa-3588"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"datePublic": "2016-01-18T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2016-06-01T21:57:01.000Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/symfony/symfony/pull/17359"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/"
},
{
"name": "DSA-3588",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN"
],
"url": "http://www.debian.org/security/2016/dsa-3588"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2016-1902",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails",
"refsource": "CONFIRM",
"url": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails"
},
{
"name": "https://github.com/symfony/symfony/pull/17359",
"refsource": "CONFIRM",
"url": "https://github.com/symfony/symfony/pull/17359"
},
{
"name": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/",
"refsource": "MISC",
"url": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/"
},
{
"name": "DSA-3588",
"refsource": "DEBIAN",
"url": "http://www.debian.org/security/2016/dsa-3588"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2016-1902",
"datePublished": "2016-06-01T22:00:00.000Z",
"dateReserved": "2016-01-14T00:00:00.000Z",
"dateUpdated": "2024-08-05T23:10:39.895Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2016-1902",
"date": "2026-06-06",
"epss": "0.00397",
"percentile": "0.60853"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2016-1902\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2016-06-01T22:59:01.393\",\"lastModified\":\"2026-05-06T22:30:45.220\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n nextBytes en la clase SecureRandom en Symfony en versiones anteriores a 2.3.37, 2.6.x en versiones anteriores a 2.6.13 y 2.7.x en versiones anteriores a 2.7.9 no genera correctamente n\u00fameros aleatorios cuando es usado con PHP 5.x sin la biblioteca paragonie/random_compat y falla la funci\u00f3n openssl_random_pseudo_bytes, lo que hace m\u00e1s f\u00e1cil a los atacantes vencer los mecanismos de protecci\u00f3n de cifrado a trav\u00e9s de vectores no especificados.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:N/A:N\",\"baseScore\":5.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":10.0,\"impactScore\":2.9,\"acInsufInfo\":true,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-310\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.3.36\",\"matchCriteriaId\":\"87FE6482-55B8-4311-A67B-97C12626B3BF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F13A190-1F97-4D7B-826A-E976934AE82B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"27770F28-584A-48E1-B885-6C6D17F546ED\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3D52659E-1F0D-4319-A986-9BA512995C62\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C177DF32-F356-483C-82E5-8FCC68D89A74\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C6D9461C-A049-48EC-BB3E-FD3212C82795\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F7EF330-714D-42E4-A2CF-406B84F3945B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2D86A4FF-9BD2-4B3D-A2CE-E9200A4EC690\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5D6667BA-5A82-480B-AD9B-0E4CD0188458\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"7CFF0C34-4474-448B-8402-F9F7E6E1BA00\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3EA6C319-AE4B-419F-BCAD-57D8ACF83EA2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.10:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"00E132C9-F809-4AD9-959B-FFA8CB92780D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.11:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"83BE3955-422A-4E81-9B81-4C2484E5C335\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.6.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"26EA6AA5-619A-4511-B2F6-4F1BA359FFC9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"ABCF4EF8-5251-46B4-9B53-44783CD82082\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A03AAA02-DB58-42C5-B4A6-C2608CDB7123\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B7DA4FA9-AED8-4CCB-85E4-6D0BF6776FC2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"32021069-B447-40B2-BBF9-0D2CFDE8ECC5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"38F01C2E-5A1B-441A-B58C-C450AA1C1410\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"660AA98C-4E93-4D8B-A4EC-A94E24DCDB9E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"388F9E94-C2C1-4010-97DA-B008E89D500F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2F89AEFB-7D2C-46EF-B0FF-D8C1B636EB30\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:sensiolabs:symfony:2.7.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"DA6F1CF5-F8A5-43E2-B9C4-912A0583E558\"}]}]}],\"references\":[{\"url\":\"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails\",\"source\":\"cve@mitre.org\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.debian.org/security/2016/dsa-3588\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://github.com/symfony/symfony/pull/17359\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\"]},{\"url\":\"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.debian.org/security/2016/dsa-3588\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/symfony/symfony/pull/17359\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…