Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-core
  4. ›
  5. CVE-2020-5408

CVE-2020-5408: Use of Insufficiently Random Values

May 14, 2020 (updated May 14, 2024)

Spring Security uses 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-5408
  • tanzu.vmware.com/security/cve-2020-5408

Code Behaviors & Features

Detect and mitigate CVE-2020-5408 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions from 4.1.0 up to 4.1.5, all versions starting from 4.2.0 before 4.2.16, all versions starting from 5.0.0 before 5.0.16, all versions starting from 5.1.0 before 5.1.10, all versions starting from 5.2.0 before 5.2.4, all versions starting from 5.3.0 before 5.3.2

Fixed versions

  • 4.2.16.RELEASE
  • 5.0.16.RELEASE
  • 5.1.10.RELEASE
  • 5.2.4.RELEASE
  • 5.3.2.RELEASE

Solution

Upgrade to versions 4.2.16.RELEASE, 5.0.16.RELEASE, 5.1.10.RELEASE, 5.2.4.RELEASE, 5.3.2.RELEASE or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

maven/org.springframework.security/spring-security-core/CVE-2020-5408.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.