Spring Security uses insufficiently random values
Moderate severity
GitHub Reviewed
Published
Apr 16, 2019
to the GitHub Advisory Database
•
Updated Jan 28, 2023
Package
Affected versions
>= 4.2.0, < 4.2.12
>= 5.0.0, < 5.0.12
>= 5.1.0, < 5.1.5
Patched versions
4.2.12
5.0.12
5.1.5
Description
Published by the National Vulnerability Database
Apr 9, 2019
Published to the GitHub Advisory Database
Apr 16, 2019
Reviewed
Jun 16, 2020
Last updated
Jan 28, 2023
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.
References