HIGH 8.1

CVE-2020-28052

Logic error in Legion of the Bouncy Castle BC Java

Description

An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.

Affected Maven artifacts (7)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-ext-jdk15on
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-ext-jdk16
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-jdk14
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-jdk15
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-jdk15on
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-jdk15to18
>= 1.65, < 1.67
1.67
org.bouncycastle » bcprov-jdk16
>= 1.65, < 1.67
1.67

Blast radius

4affected artifacts
9affected versions
5,434dependent artifacts (est.)
80,852dependent versions

24% of the dependent artifacts (1,329) still pull an affected version in their latest release.

DepthDependent versions
Direct
6,303
2 hops
29,531
3 hops
24,346
4 hops
12,339
5 hops
6,324
6 hops
2,009

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.

References