Dictionary attack with Spring Security queryable text encryptor (Spring by VMware Spring Security)

CVE-2020-5408
MEDIUM 6.5

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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 4.0AV:N/AC:L/Au:S/C:P/I:N/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Spring by VMware · Spring Securityaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD