CVE-2020-5408: Dictionary attack with Spring Security queryable text encryptor
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 Software
Event History
Frequently Asked Questions
What is CVE-2020-5408?
CVE-2020-5408 is a vulnerability in 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 that allows a malicious user with access to the data to bypass security measures.
How does CVE-2020-5408 affect Spring Security?
CVE-2020-5408 affects Spring Security by using a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor, which can be exploited by a malicious user with access to the data.
What is the severity of CVE-2020-5408?
The severity of CVE-2020-5408 is medium with a CVSS score of 6.5.
Which software versions are affected by CVE-2020-5408?
CVE-2020-5408 affects 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.
How can I fix CVE-2020-5408?
To fix CVE-2020-5408, upgrade to Spring Security versions 5.3.2, 5.2.4, 5.1.10, 5.0.16, or 4.2.16, which contain the necessary security patches.