Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-5408
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:39 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-5408
Complete source record
{
"id": "02a11e4b2e972183f67dd7f03bf3238ee69d1e3b3230912f7bb21c2d5c9af3b8",
"url": "https://osv.dev/vulnerability/CVE-2020-5408",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-5408",
"summary": "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.",
"evidence": "osv:CVE-2020-5408",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-5408",
"aliases": [
"CVE-2020-5408",
"GHSA-2ppp-9496-p23q"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-security",
"type": "GIT",
"events": [
{
"introduced": "24fcb6c45a55333e5b856b6c73f14b68ceca0e19"
},
{
"fixed": "7b61962915e3c452fe34230c5c5c354bd44bad3d"
},
{
"introduced": "62e7762e8f3f2f810b01f2c23f211de627331aa8"
},
{
"fixed": "ef78626045724492cf88b086873cc71d224483e7"
},
{
"introduced": "c073705d555d94bd271dabb16990d87a33a8284c"
},
{
"fixed": "16c350a7bcaec7218d96d42c743d748a243478f4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.10"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.2.15.RELEASE",
"5.0.15.RELEASE",
"5.1.9.RELEASE",
"4.2.14.RELEASE",
"5.1.8.RELEASE",
"5.0.14.RELEASE",
"5.1.7.RELEASE",
"5.1.6.RELEASE",
"5.0.13.RELEASE",
"4.2.13.RELEASE",
"4.2.12.RELEASE",
"5.0.12.RELEASE",
"5.1.5.RELEASE",
"5.1.4.RELEASE",
"5.0.11.RELEASE",
"5.1.3.RELEASE",
"4.2.11.RELEASE",
"4.2.10.RELEASE",
"5.0.10.RELEASE",
"5.1.2.RELEASE",
"4.2.9.RELEASE",
"5.0.9.RELEASE",
"5.1.1.RELEASE",
"5.1.0.RELEASE",
"5.0.8.RELEASE",
"5.0.7.RELEASE",
"4.2.7.RELEASE",
"5.0.6.RELEASE",
"4.2.6.RELEASE",
"5.0.5.RELEASE",
"5.0.4.RELEASE",
"4.2.5.RELEASE",
"5.0.3.RELEASE",
"5.0.2.RELEASE",
"4.2.4.RELEASE",
"5.0.1.RELEASE",
"5.0.0.RELEASE",
"4.2.3.RELEASE",
"4.2.2.RELEASE",
"4.2.1.RELEASE",
"4.2.0.RELEASE"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5408.json"
}
}
],
"modified": "2026-10-24T10:30:31.927284639Z",
"provider": "osv",
"references": [
"https://www.oracle.com/security-alerts/cpuApr2021.html",
"https://www.oracle.com/security-alerts/cpujan2021.html",
"https://www.oracle.com/security-alerts/cpuoct2020.html",
"https://tanzu.vmware.com/security/cve-2020-5408"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*"
],
"vendor_product": "pivotal_software:spring_security",
"extracted_events": [
{
"range": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.4"
},
{
"introduced": "5.3.0"
},
{
"fixed": "5.3.2"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-5408",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432913,
"published_at": "2020-05-14T18:15:12.25+00:00"
}