Cryptographic Weakness Affecting org.springframework.security:spring-security-crypto package, versions [5.3.0.RELEASE, 5.3.2.RELEASE)[5.2.0.RELEASE, 5.2.4.RELEASE)[5.1.0.RELEASE, 5.1.10.RELEASE)[5.0.0.RELEASE, 5.0.16.RELEASE)[4.2.0.RELEASE, 4.2.16.RELEASE)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-570203
  • published22 May 2020
  • disclosed14 May 2020
  • creditUnknown

Introduced: 14 May 2020

CVE-2020-5408  (opens in a new tab)
CWE-521  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-crypto to version 5.3.2.RELEASE, 5.2.4.RELEASE, 5.1.10.RELEASE, 5.0.16.RELEASE, 4.2.16.RELEASE or higher.

Overview

org.springframework.security:spring-security-crypto is a spring-security-crypto library for Spring Security.

Affected versions of this package are vulnerable to Cryptographic Weakness. Spring Security was found to be 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.

CVSS Scores

version 3.1