#VU48199 Information disclosure in The Bouncy Castle Crypto Package For Java - CVE-2020-26939
Published: November 2, 2020 / Updated: November 8, 2020
The Bouncy Castle Crypto Package For Java
Legion of the Bouncy Castle Inc.
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to observable differences in behavior to error inputs within the org.bouncycastle.crypto.encodings.OAEPEncoding component in Legion of the Bouncy Castle BC. A remote attacker can obtain sensitive information about a private exponent by sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder. This causes the application to throw an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.