Insecure Randomness

Affecting org.springframework.security:spring-security-core artifact, versions [4.2.0, 4.2.12) || [5.0.0, 5.0.12) || [5.1.0, 5.1.5)

Do your applications use this vulnerable package? Test your applications

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Insecure Randomness due to the usage of SecureRandomFactoryBean#setSeed function to configure a SecureRandom instance. In order for exploitation, an attacker will need to obtain the content generated from an application's seed value.

Remediation

Upgrade org.springframework.security:spring-security-core to version 4.2.12, 5.0.12, 5.1.5 or higher.

References

CVSS Score

3.7
low severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Credit
Thijs Alkemade
CVE
CVE-2019-3795
CWE
CWE-330
Snyk ID
SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-174111
Disclosed
02 Apr, 2019
Published
05 Apr, 2019