CVE-2020-5408

Dictionary attack with Spring Security queryable text encryptor

MEDIUM
6.5
CVSS Score
Published: May 14, 2020 at 05:15 PM UTC
Updated: June 17, 2026 at 03:21 AM UTC
3 products affected across 3 vendorsSpring SecuritySpring SecuritySpring Security

Using Spring Security by Spring by VMware?

Get instant alerts when new vulnerabilities affect Spring Security - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.2.0 ≤ v < 5.2.45.3.0 ≤ v < 5.3.2
Affected range stops below 5.2.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.3.2, so it looks safe — our inference, not a vendor statement
4.2.0 ≤ v < 4.2.165.0.0 ≤ v < 5.0.165.1.0 ≤ v < 5.1.10
Affected range stops below 4.2.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.10, so it looks safe — our inference, not a vendor statement
4.2 ≤ v < 4.2.165.0 ≤ v < 5.0.165.1 ≤ v < 5.1.105.2 ≤ v < 5.2.45.3 ≤ v < 5.3.24.25.05.15.25.3
Affected range stops below 4.2.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.3.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-329CWE-330

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card