Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security
Published Apr 9, 2019
5.3
MEDIUMCVSS 3.1
EPSS 1.92%
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.
Affected products
-
- Version 4.2StatusaffectedConstraints<4.2.11.RELEASE
- Version 5.0StatusaffectedConstraints<5.0.11.RELEASE
- Version 5.1StatusaffectedConstraints<5.1.4.RELEASE
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Security | n/a |
|
Configuration 1
- ≥ 4.2.0 · < 4.2.12
- ≥ 5.0.0 · < 5.0.12
- ≥ 5.1.0 · < 5.1.5
Configuration 2
- 8.0
No data.
Red Hat Fuse 7
spring-security-core
Fix deferred
Red Hat JBoss Fuse 6
spring-security-core
Out of support scope
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Will not fix
Red Hat OpenStack Platform 13 (Queens)
opendaylight
Not affected
Red Hat OpenStack Platform 14 (Rocky)
opendaylight
Not affected
Red Hat OpenStack Platform 8 (Liberty)
opendaylight
Not affected
Red Hat OpenStack Platform 9 (Mitaka)
opendaylight
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | spring-security-core | Fix deferred | n/a |
| Red Hat JBoss Fuse 6 | spring-security-core | Out of support scope | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 13 (Queens) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 14 (Rocky) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | opendaylight | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat OpenStack Platform's OpenDaylight versions 9 and 10 contain the vulnerable code. However, these OpenDaylight versions were released as technical preview with limited support and will therefore not be updated. Other OpenDaylight versions do not contain the vulnerable library.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.92% (0.01921) | 79.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.87% (0.01868) | 76.52th | v5 (v2026.06.15) |
| Feb 15, 2026 | 0.57% (0.00573) | 68.19th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.96% (0.01961) | 82.30th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.45% (0.00453) | 75.43th | v3 (v2023.03.01) |
| May 2, 2024 | 0.45% (0.00453) | 74.94th | v3 (v2023.03.01) |
| Mar 28, 2024 | 0.46% (0.00460) | 74.88th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.34% (0.00337) | 70.50th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00337) | 66.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.74% (0.05736) | 77.22th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.63% (0.03630) | 71.73th | v1 |
| Jan 6, 2022 | 3.63% (0.03630) | 71.48th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (8)
- http://www.securityfocus.com/bid/107802 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-3795 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1696616 Issue Tracking
- https://github.com/advisories/GHSA-v2r2-7qm7-jj6v Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00026.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-3795
- https://pivotal.io/security/cve-2019-3795 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-3795
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/107802 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2019-3795 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1696616 | Issue Tracking | |
| https://github.com/advisories/GHSA-v2r2-7qm7-jj6v | Advisory | |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00026.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-3795 | ||
| https://pivotal.io/security/cve-2019-3795 | x_refsource_CONFIRMVendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2019-3795 |
Change history (0)
No recorded changes yet.