CVE-2019-3795: Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security
Vulnerability summary
CVE-2019-3795 is a medium (CVSS 5.3) Use of Insufficiently Random Values vulnerability in debian debian_linux. EPSS estimates a 1.92% chance of exploitation in the next 30 days, higher than 80.6% of scored vulnerabilities.
Not severe (CVSS 3.8, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 09-04-2019PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST3.8LowCVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.92%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.92% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libspring-security-2.0-java< 2.0.7.RELEASE-3+deb8u1
- debian_linuxEOL8.0
Org.springframework.security1 product
- spring-security-core≥ 4.2.0, < 4.2.12 | ≥ 5.0.0, < 5.0.12 | ≥ 5.1.0, < 5.1.5
Spring1 product
- spring security≥ 5.0, < 5.0.11.RELEASE | ≥ 5.1, < 5.1.4.RELEASE | ≥ 4.2, < 4.2.11.RELEASE
Vmware1 product
- spring_security≥ 4.2.0, < 4.2.12 | ≥ 5.0.0, < 5.0.12 | ≥ 5.1.0, < 5.1.5
4 vendors · 5 products
References
5 links- lists.debian.org/debian-lts-announce/2019/05/msg00026.htmlMailing ListX Refsource MLISTWEBThird Party Advisory