CVE-2020-5408: Dictionary attack with Spring Security queryable text encryptor

Published May 14, 2020
·
Updated

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

5 affected components
Pivotal Software Spring Security>=5.2.0<5.2.4
Pivotal Software Spring Security>=5.3.0<5.3.2
VMware Spring Security>=4.2.0<4.2.16
VMware Spring Security>=5.0.0<5.0.16
VMware Spring Security>=5.1.0<5.1.10

Event History

May 14, 2020
CVE Published
via MITRE·05:15 PM
Data Sourced
via MITRE·05:15 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What is the severity of CVE-2020-5408?

The severity of CVE-2020-5408 is medium with a CVSS score of 6.5.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203