CVE-2019-3795
Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security
LOW 3.8
At a glance
- Source
- NVD
- EPSS
- EPSS 1.92 % · percentile 80 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- dell
- NVD status
- Modified
Description
Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.
Weaknesses (CWE)
- CWE-330 — Use of Insufficiently Random Values
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | LOW 3.8 | CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N | dell |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | LOW 3.8 | CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N | NVD · security_alert@emc.com (Secondary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-v2r2-7qm7-jj6v — Spring Security uses insufficiently random values
European references
- ENISA EUVD · EUVD-2019-0437
- GCVE · GCVE-0-2019-3795
Affected configurations (NVD CPE)
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 4.2.0 < 4.2.12cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.12cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 5.1.0 < 5.1.5cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Spring · Spring Security | affected 5.0 < 5.0.11.RELEASE ; affected 5.1 < 5.1.4.RELEASE ; affected 4.2 < 4.2.11.RELEASE |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |