CVE-2020-5408
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.
Severity
MEDIUM
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
1.594%
chance of exploitation in the next 30 days
higher than 76.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-329: Generation of Predictable IV with CBC Mode
Timeline
- 2020-05-14Published by the CNA17:15 UTC
- 2020-06-15GitHub advisory published (GHSA-2ppp-9496-p23q)32 days after publication
Exploit and advisory records
GitHub advisory GHSA-2ppp-9496-p23q, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.springframework.security:spring-security-core | before 4.2.16 | 4.2.16 |
| Maven org.springframework.security:spring-security-core | from 5.0.0 before 5.0.16 | 5.0.16 |
| Maven org.springframework.security:spring-security-core | from 5.1.0 before 5.1.10 | 5.1.10 |
| Maven org.springframework.security:spring-security-core | from 5.2.0 before 5.2.4 | 5.2.4 |
| Maven org.springframework.security:spring-security-core | from 5.3.0 before 5.3.2 | 5.3.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pivotal_software spring_security | from 5.2.0 before 5.2.4fixed in 5.2.4from 5.3.0 before 5.3.2fixed in 5.3.2 | 5.2.45.3.2 |
| vmware spring_security | from 4.2.0 before 4.2.16fixed in 4.2.16from 5.0.0 before 5.0.16fixed in 5.0.16from 5.1.0 before 5.1.10fixed in 5.1.10 | 4.2.165.0.165.1.10 |
References
- https://tanzu.vmware.com/security/cve-2020-5408
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-5408'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-5408'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-5408'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-5408'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).