GitHub Advisoryadvisory · Maven

GHSA-2ppp-9496-p23q Insufficient Entropy in Spring Security

MEDIUM Published 2020-06-15 Modified 2021-06-09 Official page ↗
Aliases
CVE-2020-5408
Ecosystem
Maven
Packages
org.springframework.security:spring-security-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-329, CWE-330
Reviewed
2020-06-11

Affected packages

• Maven org.springframework.security:spring-security-core: >= 5.3.0, < 5.3.2 → fixed in 5.3.2 • Maven org.springframework.security:spring-security-core: >= 5.2.0, < 5.2.4 → fixed in 5.2.4 • Maven org.springframework.security:spring-security-core: >= 5.1.0, < 5.1.10 → fixed in 5.1.10 • Maven org.springframework.security:spring-security-core: >= 5.0.0, < 5.0.16 → fixed in 5.0.16 • Maven org.springframework.security:spring-security-core: < 4.2.16 → fixed in 4.2.16

Description

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Related

Alias · CVE (1)

  • CVE-2020-5408 Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16… vulnerability

Weakness · CWE (2)

  • CWE-329 Generation of Predictable IV with CBC Mode weakness
  • CWE-330 Use of Insufficiently Random Values weakness

References