MODERATE 5.3

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)

ArtifactAffected versionsFixed 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

1affected artifacts
29affected versions
4,417dependent artifacts (est.)
149,813dependent versions

30% of the dependent artifacts (1,353) still pull an affected version in their latest release.

DepthDependent 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

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.