ADVISORIES

GitHub Advisory Database

GHSA-2ppp-9496-p23q

Insufficient Entropy in Spring Security

Moderate CVE-2020-5408

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
From 5.3.0 before 5.3.2 (fixed in 5.3.2)
Mavenorg.springframework.security:spring-security-core
From 5.2.0 before 5.2.4 (fixed in 5.2.4)
Mavenorg.springframework.security:spring-security-core
From 5.1.0 before 5.1.10 (fixed in 5.1.10)
Mavenorg.springframework.security:spring-security-core
From 5.0.0 before 5.0.16 (fixed in 5.0.16)
Mavenorg.springframework.security:spring-security-core
All versions before 4.2.16 (fixed in 4.2.16)

References