Dictionary attack with Spring Security queryable text encryptor
Spring by VMware Spring Security
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core Maven |
|
|
Spring by VMware Spring Security
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core Maven |
|
|
5.0.164.2.16Spring 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.
From the CVE record · pivotal
Affected Spring Security versions use a fixed null initialization vector with CBC mode in the queryable text encryptor. A malicious user who can access data encrypted with that encryptor may be able to derive plaintext values through a dictionary attack.
Teams using Maven package org.springframework.security:spring-security-core should check versions 5.3.0–5.3.1, 5.2.0–5.2.3, 5.1.0–5.1.9, 5.0.0–5.0.15, and versions below 4.2.16.