CVE-2019-3795
Spring Security uses insufficiently random values
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-core | >= 4.2.0, < 4.2.12>= 5.0.0, < 5.0.12>= 5.1.0, < 5.1.5 | 4.2.12, 5.0.12, 5.1.5 |
Blast radius
30% of the dependent artifacts (1,353) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 20,743 |
| 2 hops | 45,057 |
| 3 hops | 41,323 |
| 4 hops | 17,779 |
| 5 hops | 20,932 |
| 6 hops | 3,979 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,606 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.springframework.security » spring-security-test1,308 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.hbase » hbase-common674 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.hbase » hbase-server643 usages
- org.apache.spark » spark-hive633 usages
- org.springframework.security » spring-security-cas550 usages
- org.springframework.security » spring-security-oauth2-jose508 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
