MODERATE 5.3

CVE-2020-26939

Observable Differences in Behavior to Error Inputs in Bouncy Castle

Description

In Legion of the Bouncy Castle BC before 1.55 and BC-FJA before 1.0.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.

Blast radius

7affected artifacts
100affected versions
34,426dependent artifacts (est.)
3,077,557dependent versions

62% of the dependent artifacts (21,681) still pull an affected version in their latest release.

DepthDependent versions
Direct
63,493
2 hops
442,003
3 hops
1,005,321
4 hops
825,697
5 hops
478,115
6 hops
262,928

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.