Vulnerabilities · 2020 · Bouncycastle
CVE-2020-26939
Bouncycastle Fips Java Api vulnerability
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 products
Fips Java Api, Legion-of-the-bouncy-castle. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bouncycastle Fips Java Api runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bcgit/bc-java/wiki/CVE-2020-26939 · Patch
- lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%
- nvd.nist.gov/vuln/detail/CVE-2020-26939
- github.com/bcgit/bc-java/commit/930f8b274c4f1f3a46e68b5441f1e7fadb57e8c1
- lists.debian.org/debian-lts-announce/2020/11/msg00007.html
- lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e@%3C
- security.netapp.com/advisory/ntap-20201202-0005
- github.com/advisories/GHSA-72m5-fvvv-55m6
- nvd.nist.gov/vuln/detail/CVE-2020-26939
- cve.org/CVERecord?id=CVE-2020-26939
More vulnerabilities in Bouncycastle products
CVE-2023-33202CVE-2023-33201CVE-2022-45146CVE-2020-28052CVE-2020-15522CVE-2019-17359CVE-2018-1000613CVE-2018-1000180All 25
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.