{"id":"CVE-2020-5408","aliases":["CVE-2020-5408","GHSA-2ppp-9496-p23q"],"related":[],"kind":"vulnerability","state":"published","title":"Dictionary attack with Spring Security queryable text encryptor","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Spring Security versiones 5.3.x anteriores a 5.3.2, versiones 5.2.x anteriores a 5.2.4, versiones 5.1.x anteriores a 5.1.10, versiones 5.0.x anteriores a 5.0.16 y versiones 4.2.x anteriores a 4.2.16, utilizan un vector de inicialización de null corregido con el Modo CBC en la implementación del encriptador de texto consultable. Un usuario malicioso con acceso a los datos que han sido encriptados, al usar dicho encriptador  pueden ser capaces de obtener los valores no encriptados mediante un ataque de diccionario.","source":"nvd"}],"published":"2020-05-14T17:15:13.256Z","modified":"2026-06-17T03:21:26.323Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-329","CWE-330"],"affected":[{"ranges":[{"type":"custom","introduced":"4.2","fixed":"4.2.16","status":"affected"},{"type":"custom","introduced":"5.0","fixed":"5.0.16","status":"affected"},{"type":"custom","introduced":"5.1","fixed":"5.1.10","status":"affected"},{"type":"custom","introduced":"5.2","fixed":"5.2.4","status":"affected"},{"type":"custom","introduced":"5.3","fixed":"5.3.2","status":"affected"}],"vendor":"Spring by VMware","product":"Spring Security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.2"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0","status":"affected","fixed":"5.2.4"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.1.0","status":"affected","fixed":"5.1.10"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.16"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.16"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.2.0","fixed":"5.2.4"},{"status":"affected","introduced":"5.3.0","fixed":"5.3.2"}],"vendor":"pivotal_software","product":"spring_security","cpe":"cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.2.16"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.16"},{"status":"affected","introduced":"5.1.0","fixed":"5.1.10"}],"vendor":"vmware","product":"spring_security","cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://tanzu.vmware.com/security/cve-2020-5408","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5408","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"pivotal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5408","url":"https://www.cve.org/CVERecord?id=CVE-2020-5408","licence":"CVE Terms of Use","modified":"2024-09-17T01:01:47.960Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2ppp-9496-p23q","url":"https://github.com/advisories/GHSA-2ppp-9496-p23q","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:55.286Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5408","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5408","licence":"Public domain","modified":"2026-06-17T03:21:26.323Z"}],"updatedAt":"2026-11-25T22:57:52.423Z","epss":{"score":0.01594,"percentile":0.76462,"date":"2026-12-02T12:00:21.000Z"}}