Skip to content
Fencer Vulns
high 8.1

CVE-2020-28052 json

Logic error in Legion of the Bouncy Castle BC Java

published 2020-12-18 5 y ago modified 2026-06-17 4 mo ago also GHSA-73xv-w5gp-frxh , EUVD-2021-0782

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.2%
EPSS 7.2% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.bouncycastle:bcprov-jdk15to18 1.67
  • maven org.bouncycastle:bcprov-jdk15 1.67
  • maven org.bouncycastle:bcprov-jdk15on 1.67
  • maven org.bouncycastle:bcprov-ext-jdk15on 1.67
  • maven org.bouncycastle:bcprov-jdk14 1.67
  • maven org.bouncycastle:bcprov-jdk16 1.67
  • maven org.bouncycastle:bcprov-ext-jdk16 1.67
  • oracle blockchain_platform 21.1.2
  • bouncycastle Debian 14, Debian 13, Debian 12 1.65-2

debian advisories DEBIAN-CVE-2020-28052

  • eap7-guava jboss enterprise application platform 7.3 30.1.0-1.redhat_00001.1.el7eap
  • eap7-wildfly jboss enterprise application platform 7.3 7.3.6-1.GA_redhat_00002.1.el7eap
  • eap7-narayana jboss enterprise application platform 7.3 5.9.11-1.Final_redhat_00001.1.el7eap
  • eap7-undertow jboss enterprise application platform 7.3 2.0.34-1.SP1_redhat_00001.1.el7eap
  • eap7-hal-console jboss enterprise application platform 7.3 3.2.13-1.Final_redhat_00001.1.el7eap
  • eap7-ironjacamar jboss enterprise application platform 7.3 1.4.27-1.Final_redhat_00001.1.el7eap
  • eap7-bouncycastle jboss enterprise application platform 7.3 1.68.0-1.redhat_00001.1.el7eap
  • eap7-jboss-remoting jboss enterprise application platform 7.3 5.0.20-2.SP1_redhat_00001.1.el7eap

red hat advisories RHSA-2024:10208RHSA-2021:0873RHSA-2021:0874RHSA-2021:0872

  • bouncycastle openSUSE Tumbleweed 1.68-3.2

opensuse advisories openSUSE-SU-2024:10661-1

  • bcprov Arch Linux 1.67-1

arch linux advisories AVG-1372

Exploit prediction

7.22% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • synopsys.com https://www.synopsys.com/blogs/software-security/cve-2020-28052-bouncy-castle/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.bouncycastle:bcprov-jdk15to18
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-jdk15
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-jdk15on
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-ext-jdk15on
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-jdk14
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-jdk16
>=1.65, <1.67
1.67
maven org.bouncycastle:bcprov-ext-jdk16
>=1.65, <1.67
1.67

Classification

Weakness
  • CWE-670 Always-Incorrect Control Flow Implementation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.