Vulnerability · Published Nov 2, 2020 · Assigned by mitre
CVE-2020-26939
Medium 5.3
In plain English
A medium-severity security flaw in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In Legion of the Bouncy Castle BC before 1.61 and BC-FJA before 1.0.1.2, attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bouncycastle | 1.61-1 | DEBIAN-CVE-2020-26939 |
| Debian:13 | bouncycastle | 1.61-1 | DEBIAN-CVE-2020-26939 |
| Debian:14 | bouncycastle | 1.61-1 | DEBIAN-CVE-2020-26939 |
| Maven | org.bouncycastle:bc-fips | 1.0.2 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk14 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15on | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | 1.61 | GHSA-72m5-fvvv-55m6 |
| Maven | org.bouncycastle:bcprov-jdk16 | 1.61 | GHSA-72m5-fvvv-55m6 |
Affected products (as reported)
References
- https://github.com/bcgit/bc-java/wiki/CVE-2020-26939 x_refsource_MISC
- [solr-issues] 20210525 [jira] [Created] (SOLR-15431) Security vulnerability with Bouncy Castle library within Apache Solr 8.8.2 mailing-list, x_refsource_MLIST