Name | CVE-2020-26939 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2433-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bouncycastle (PTS) | jessie, jessie (lts) | 1.49+dfsg-3+deb8u3 | fixed |
| stretch (security) | 1.56-1+deb9u3 | fixed |
| stretch (lts), stretch | 1.56-1+deb9u4 | fixed |
| buster (security), buster, buster (lts) | 1.60-1+deb10u1 | vulnerable |
| bullseye | 1.68-2 | fixed |
| bookworm | 1.72-2 | fixed |
| sid, trixie | 1.77-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - bouncycastle <no-dsa> (Minor issue)
https://github.com/bcgit/bc-java/wiki/CVE-2020-26939
https://github.com/bcgit/bc-java/commit/930f8b274c4f1f3a46e68b5441f1e7fadb57e8c1 (r1rv61)
[jessie] - bouncycastle <not-affected> (Vulnerable code not present)