MODERATE 6.5

CVE-2020-5408

Insufficient Entropy in Spring Security

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-core
< 4.2.16>= 5.0.0, < 5.0.16>= 5.1.0, < 5.1.10>= 5.2.0, < 5.2.4>= 5.3.0, < 5.3.2
4.2.16, 5.0.16, 5.1.10, 5.2.4, 5.3.2

Blast radius

1affected artifacts
143affected versions
11,677dependent artifacts (est.)
854,114dependent versions

58% of the dependent artifacts (6,801) still pull an affected version in their latest release.

DepthDependent versions
Direct
74,111
2 hops
198,667
3 hops
354,232
4 hops
122,299
5 hops
80,420
6 hops
24,385

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.