CVE-2019-3795
mediumpriority · track · 22OT risk · elevatedEPSS 0.019 · 80 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.8–5.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- Maven org.springframework.security:spring-security-core4.2.0 → 4.2.12osvUSpkg:maven/org.springframework.security/spring-security-core
- Maven org.springframework.security:spring-security-core5.0.0 → 5.0.12osvUSpkg:maven/org.springframework.security/spring-security-core
- Maven org.springframework.security:spring-security-core5.1.0 → 5.1.5osvUSpkg:maven/org.springframework.security/spring-security-core
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-v2r2-7qm7-jj6vSpring Security uses insufficiently random values2019-04-16ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/107802cnnvd
- https://lists.debian.org/debian-lts-announce/2019/05/msg00026.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-3795cnnvd
- https://pivotal.io/security/cve-2019-3795cnnvd
- https://spring.io/projects/spring-securitycnnvd
- https://vigilance.fr/vulnerability/spring-security-bad-quality-of-the-PRNG-SecureRandomFactoryBean-29353cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.1799/cnnvd
- https://www.ibm.com/blogs/psirt/security-bulletin-multiple-vulnerabilities-in-ibm-guardium-data-encryption-gde-3/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan