cve.bz

CVE-2020-5408 Use of Insufficiently Random Values

6.5 mediumEPSS 1.6%Fix available

Medium (6.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 4.2.16, 5.0.16, 5.1.10.

On this page
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

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
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-330 Use of Insufficiently Random Values
CWE-329 Generation of Predictable IV with CBC Mode
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-5408 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-5408?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-5408?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-5408 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring by VMware Spring Securityfrom 4.2 before 4.2.16
Spring by VMware Spring Securityfrom 5.0 before 5.0.16
Spring by VMware Spring Securityfrom 5.1 before 5.1.10
Spring by VMware Spring Securityfrom 5.2 before 5.2.4
Spring by VMware Spring Securityfrom 5.3 before 5.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2ppp-9496-p23qMavenorg.springframework.security:spring-security-core>=5.3.0 <5.3.25.3.2
GHSA-2ppp-9496-p23qMavenorg.springframework.security:spring-security-core>=5.2.0 <5.2.45.2.4
GHSA-2ppp-9496-p23qMavenorg.springframework.security:spring-security-core>=5.1.0 <5.1.105.1.10
GHSA-2ppp-9496-p23qMavenorg.springframework.security:spring-security-core>=5.0.0 <5.0.165.0.16
GHSA-2ppp-9496-p23qMavenorg.springframework.security:spring-security-core<4.2.164.2.16

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-485 Signature Spoofing by Key Recreation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON