MEDIUM5.3
GHSA-v2r2-7qm7-jj6v
Spring Security uses insufficiently random values
Quick fix
GHSA-v2r2-7qm7-jj6v — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.2.12</version> for org.springframework.security:spring-security-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework.security:spring-security-core
Introduced in:
4.2.0Fixed in: 4.2.12Fix
# pom.xml: bump <version>4.2.12</version> for org.springframework.security:spring-security-coreMaven/org.springframework.security:spring-security-core
Introduced in:
5.0.0Fixed in: 5.0.12Fix
# pom.xml: bump <version>5.0.12</version> for org.springframework.security:spring-security-coreMaven/org.springframework.security:spring-security-core
Introduced in:
5.1.0Fixed in: 5.1.5Fix
# pom.xml: bump <version>5.1.5</version> for org.springframework.security:spring-security-core