CVE-2019-3795: Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security

Published Apr 9, 2019
·
Updated

Pivotal Spring Security could provide weaker than expected security, caused by an insecure randomness flaw when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. A remote attacker could exploit this vulnerability to launch further attacks on the system.

Other sources

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 Software

5 affected components
VMware Spring Security>=4.2.0<4.2.12
VMware Spring Security>=5.0.0<5.0.12
VMware Spring Security>=5.1.0<5.1.5
Debian Debian Linux=8.0
IBM GDE<=3.0.0.2

Event History

Apr 9, 2019
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:29 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-3795?

CVE-2019-3795 is a vulnerability in Pivotal Spring Security that could provide weaker than expected security due to an insecure randomness vulnerability.

2

What versions of Spring Security are affected by CVE-2019-3795?

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 are affected by CVE-2019-3795.

3

How can an application be impacted by CVE-2019-3795?

In order to be impacted by CVE-2019-3795, an honest application must provide a seed and make use of SecureRandomFactoryBean#setSeed to configure a SecureRandom instance.

4

What is the severity of CVE-2019-3795?

CVE-2019-3795 has a severity rating of 6.5 (medium).

5

How can I fix CVE-2019-3795?

To fix CVE-2019-3795, update to Spring Security versions 4.2.12, 5.0.12, or 5.1.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203