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

Timeline

  1. 2020-05-14Published by the CNA17:15 UTC
  2. 2020-06-15GitHub advisory published (GHSA-2ppp-9496-p23q)32 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-2ppp-9496-p23q, affected packages:

PackageVulnerable versionsFixed in
Maven org.springframework.security:spring-security-corebefore 4.2.164.2.16
Maven org.springframework.security:spring-security-corefrom 5.0.0 before 5.0.165.0.16
Maven org.springframework.security:spring-security-corefrom 5.1.0 before 5.1.105.1.10
Maven org.springframework.security:spring-security-corefrom 5.2.0 before 5.2.45.2.4
Maven org.springframework.security:spring-security-corefrom 5.3.0 before 5.3.25.3.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
pivotal_software spring_securityfrom 5.2.0 before 5.2.4fixed in 5.2.4from 5.3.0 before 5.3.2fixed in 5.3.25.2.45.3.2
vmware spring_securityfrom 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.104.2.165.0.165.1.10

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources