GitHub Advisoryadvisory · Maven

GHSA-v2r2-7qm7-jj6v Spring Security uses insufficiently random values

MEDIUM Published 2019-04-16 Modified 2022-11-17 Official page ↗
Aliases
CVE-2019-3795
Ecosystem
Maven
Packages
org.springframework.security:spring-security-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-330
Reviewed
2020-06-16

Affected packages

• Maven org.springframework.security:spring-security-core: >= 4.2.0, < 4.2.12 → fixed in 4.2.12 • Maven org.springframework.security:spring-security-core: >= 5.0.0, < 5.0.12 → fixed in 5.0.12 • Maven org.springframework.security:spring-security-core: >= 5.1.0, < 5.1.5 → fixed in 5.1.5

Description

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.

Related

Alias · CVE (1)

  • 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 contain an insecure randomness… vulnerability

Weakness · CWE (1)

  • CWE-330 Use of Insufficiently Random Values weakness

References