Back
CVE-2019-3795
Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security
Low3.8EPSS 1.9%
- Published
- Updated
- Reserved
- Assigned by
- dell
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| dellCNA (assigner) | 3.0 | Low3.8 | CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.8.
Weakness
Affected products
- affected 5.0 – < 5.0.11.RELEASE
- affected 5.1 – < 5.1.4.RELEASE
- affected 4.2 – < 4.2.11.RELEASE
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.springframework.security:spring-security-coreGHSA-v2r2-7qm7-jj6v (opens in a new tab)
References (3)
- https://pivotal.io/security/cve-2019-3795 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 107802 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1794-1] libspring-security-2.0-java security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v2r2-7qm7-jj6v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-3795)Record last updated .