CVE-2020-5408
MEDIUM 6.5CVSS 3.1Insufficient Entropy in Spring Security
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.
- Published
- 14 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@pivotal.io
- NVD status
- Modified
- Weakness
- CWE-329CWE-330
- Also known as
- GHSA-2ppp-9496-p23q
- Sources
- NVDJSONOSV GHSA-2ppp-9496-p23qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pivotal_software | spring_securitycpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.4 | 5.2.4 |
| NVD | pivotal_software | spring_securitycpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.2 | 5.3.2 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.16 | 4.2.16 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.16 | 5.0.16 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.1.0, < 5.1.10 | 5.1.10 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.3.0, < 5.3.2 | 5.3.2 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.2.0, < 5.2.4 | 5.2.4 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.1.0, < 5.1.10 | 5.1.10 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.0.0, < 5.0.16 | 5.0.16 |
| OSV | Maven | org.springframework.security:spring-security-core | < 4.2.16 | 4.2.16 |
References
- https://tanzu.vmware.com/security/cve-2020-5408 · Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · WEB
- https://www.oracle.com/security-alerts/cpujan2021.html · WEB
- https://www.oracle.com/security-alerts/cpuoct2020.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5408 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 14 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Jun 2020)