Dictionary attack with Spring Security queryable text encryptor (Spring by VMware Spring Security)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.59 % · percentile 76 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- pivotal
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-329 — Generation of Predictable IV with CBC Mode
- CWE-330 — Use of Insufficiently Random Values
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-2ppp-9496-p23q — Insufficient Entropy in Spring Security
European references
- ENISA EUVD · EUVD-2020-0449
- GCVE · GCVE-0-2020-5408
CERT-FR advisories
- CERTFR-2021-AVI-044 — Multiples vulnérabilités dans Oracle MySQL · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*≥ 5.2.0 < 5.2.4cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*≥ 5.3.0 < 5.3.2cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 4.2.0 < 4.2.16cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.16cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*≥ 5.1.0 < 5.1.10
Affected products
| Product | Versions |
|---|---|
| Spring by VMware · Spring Security | affected 4.2 < 4.2.16 ; affected 5.0 < 5.0.16 ; affected 5.1 < 5.1.10 ; affected 5.2 < 5.2.4 ; affected 5.3 < 5.3.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |