GHSA-v2r2-7qm7-jj6v
GitHub Security Advisory
Spring Security uses insufficiently random values
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
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 Packages
Maven
org.springframework.security:spring-security-core
Affected versions:
4.2.0
(fixed in 4.2.12)
Maven
org.springframework.security:spring-security-core
Affected versions:
5.0.0
(fixed in 5.0.12)
Maven
org.springframework.security:spring-security-core
Affected versions:
5.1.0
(fixed in 5.1.5)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: September 20, 2025 6:29 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.