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

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-02)
- Published: 2020-05-14T17:15:13.256Z
- Modified: 2026-06-17T03:21:26.323Z
- Also known as: GHSA-2ppp-9496-p23q
- Weaknesses: CWE-329, CWE-330
- Assigned by: pivotal

## 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.

(As written by CVE List.)

## Affected

- Spring by VMware Spring Security: from 4.2 before 4.2.16; from 5.0 before 5.0.16; from 5.1 before 5.1.10; from 5.2 before 5.2.4; from 5.3 before 5.3.2
- org.springframework.security:spring-security-core (Maven): from 5.3.0 before 5.3.2; from 5.2.0 before 5.2.4; from 5.1.0 before 5.1.10; from 5.0.0 before 5.0.16; before 4.2.16
- pivotal_software spring_security: from 5.2.0 before 5.2.4; from 5.3.0 before 5.3.2
- vmware spring_security: from 4.2.0 before 4.2.16; from 5.0.0 before 5.0.16; from 5.1.0 before 5.1.10

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.oracle.com/security-alerts/cpuoct2020.html> (web)
- <https://tanzu.vmware.com/security/cve-2020-5408> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (web)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5408> (advisory)

## Sources

- CVE List: [CVE-2020-5408](https://www.cve.org/CVERecord?id=CVE-2020-5408), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-2ppp-9496-p23q](https://github.com/advisories/GHSA-2ppp-9496-p23q), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-5408](https://nvd.nist.gov/vuln/detail/CVE-2020-5408), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5408 · Whole record: https://cve.day/CVE-2020-5408.json · Rebuilt by cve.day 2026-11-25T22:57:52.423Z
