All reports
Medium

Spring Security uses insufficiently random values

Affected versions

Affected versions
>= 5.0.0, < 5.0.12
Fixed version
5.0.12
Affected versions
>= 4.2.0, < 4.2.12
Fixed version
4.2.12
Affected versions
>= 5.1.0, < 5.1.5
Fixed version
5.1.5
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-3795

Probability of exploitation in the next 30 days: 1.92%

FIRST EPSS · 2026-11-22

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.

Links